
Util.isString =
function /* isString */( cadena ) {
  return this.isGivenObject( cadena, String );
}

Util.isNumber =
function /* isNumber */( numero ) {
  if ( isNaN( numero ) ) return false;
  return this.isGivenObject( numero, Number );
}

Util.isBoolean =
function /* isBoolean */( bBool ) {
  return this.isGivenObject( bBool, Boolean );
}

Util.isArray =
function /* isArray */( a ) {
  return this.isGivenObject( a, Array );
}

Util.isFunction =
function /* isFunction */( f ) {
  return this.isGivenType( f, "function" );
}

Util.isGivenObject =
function /* isGivenObject */( argument, objectConstructor ) {
  if ( (typeof argument == "undefined") ||
       (argument == null) ||
       (argument.constructor != objectConstructor) )
    return false;
  else
    return true;
}

Util.isGivenType =
function /* isGivenType */( argument, argType ) {
  if ( argument == null ) return false;
  return ( typeof argument == argType );
}

Util.isNull =
function /* isNull */( pData )
{
  if ( ( typeof pData == 'undefined' ) || ( pData == null ) )
    return true;
  else
    return false;
}

Util.isObject =
function /* isObject */( pData )
{
  if ( typeof pData == 'object' )
    return true;
  else
    return false;
}
