Module: Util

Methods

(inner) inArray(value, array) → {boolean}

Check if a value is in an array.

Check if a value is in an array.

Parameters:
Name Type Description
value *
array Array
Source:
Returns:
Type
boolean

(inner) isArray(value) → {boolean}

Check if a value is an array.

Check if a value is an array.

Parameters:
Name Type Description
value *
Source:
Returns:
Type
boolean

(inner) isBool(value) → {boolean}

Check if a value is boolean.

Check if a value is boolean.

Parameters:
Name Type Description
value *
Source:
Returns:
Type
boolean

(inner) isDate(value) → {boolean}

Check if a value is a date object.

Check if a value is a date object.

Parameters:
Name Type Description
value *
Source:
Returns:
Type
boolean

(inner) isFloat(value) → {boolean}

Check if a value is a numeric object and a float.

Check if a value is a numeric object and a float.

Parameters:
Name Type Description
value *
Source:
Returns:
Type
boolean

(inner) isFunction(value) → {boolean}

Check if a value is callable.

Check if a value is callable.

Parameters:
Name Type Description
value *
Source:
Returns:
Type
boolean

(inner) isInstanceOf(value, type) → {boolean}

Check if a value is a instance of another.

Check if a value is a instance of another.

Parameters:
Name Type Description
value *
type *
Source:
Returns:
Type
boolean

(inner) isInt(value) → {boolean}

Check if a value is a numeric object and a integer.

Check if a value is a numeric object and a integer.

Parameters:
Name Type Description
value *
Source:
Returns:
Type
boolean

(inner) isNull(value) → {boolean}

Check if a value is null.

Check if a value is null.

Parameters:
Name Type Description
value *
Source:
Returns:
Type
boolean

(inner) isNullOrUndefined(value) → {boolean}

Check if a value is null or undefined.

Check if a value is null or undefined.

Parameters:
Name Type Description
value *
Source:
Returns:
Type
boolean

(inner) isNumber(value) → {boolean}

Check if a value is a numeric object.

Check if a value is a numeric object.

Parameters:
Name Type Description
value *
Source:
Returns:
Type
boolean

(inner) isObject(value) → {boolean}

Check if a value is a object.

Check if a value is a object.

Parameters:
Name Type Description
value *
Source:
Returns:
Type
boolean

(inner) isString(value) → {boolean}

Check if a value is a string.

Check if a value is a string.

Parameters:
Name Type Description
value *
Source:
Returns:
Type
boolean

(inner) isUndefined(value) → {boolean}

Check if a value is undefined.

Check if a value is undefined.

Parameters:
Name Type Description
value *
Source:
Returns:
Type
boolean