Class: AxUtils

AxUtils()

new AxUtils()

Source:

Methods

(static) IsBoolean(variable) → {Boolean}

Returns whether the given value is a number. This includes floating point and integer numbers. If the value is a string containing a number, returns false
Parameters:
Name Type Description
variable * The variable to check
Source:
Returns:
True if the variable is a number.
Type
Boolean

(static) IsInstanceOf(obj, constr) → {Boolean}

Returns whether an object is an instance of a of a given prototype class
Parameters:
Name Type Description
obj * Object to test for
constr * A constructur to test against
Source:
Returns:
True if the object is an instance of the given prototype class
Type
Boolean

(static) IsInteger(variable) → {Boolean}

Returns whether the given value is an integer. If the value is a string containing an integer, returns false
Parameters:
Name Type Description
variable * The variable to check
Source:
Returns:
True if the variable is an integer.
Type
Boolean

(static) IsNumber(variable) → {Boolean}

Returns whether the given value is a number. This includes floating point and integer numbers. If the value is a string containing a number, returns false
Parameters:
Name Type Description
variable * The variable to check
Source:
Returns:
True if the variable is a number.
Type
Boolean

(static) IsUndefined(variable) → {Boolean}

Returns whether a variable is not defined
Parameters:
Name Type Description
variable Number The variable to check
Source:
Returns:
True if the variable is not defined, False otherwise
Type
Boolean

(static) IsUndefinedOrNull(variable) → {Boolean}

Returns whether a variable is not defined or null
Parameters:
Name Type Description
variable Number The variable to check
Source:
Returns:
True if the variable is not defined or null, False otherwise
Type
Boolean

Documentation generated by JSDoc 3.5.3 on Mon Feb 19 2018 20:39:27 GMT+0200 (FLE Standard Time)