util-datatype

Methods

(inner) isArray(val) → {boolean}

Check if the given value is of type: Array
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source:

(inner) isBoolean(val) → {boolean}

Check if the given value is of type: Boolean
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source:

(inner) isDate(val) → {boolean}

Check if the given value is of type: Date
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source:

(inner) isDefined(val) → {boolean}

Check if the given value is defined
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source:

(inner) isFunction(val) → {boolean}

Check if the given value is of type: Function
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source:

(inner) isNaN(val) → {boolean}

Check if the given value is of type: NaN i.e. not a number
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source:

(inner) isNull(val) → {boolean}

Check if the given value is of type: Null
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source:

(inner) isNumber(val) → {boolean}

Check if the given value is of type: Number
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source:

(inner) isObject(val) → {boolean}

Check if the given value is of type: Object
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source:

(inner) isPromise(val) → {boolean}

Check if the given value is of type: Promise
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source:

(inner) isRegex(val) → {boolean}

Check if the given value is of type: Regex
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source:

(inner) isString(val) → {boolean}

Check if the given value is of type: String
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source:

(inner) isUndefined(val) → {boolean}

Check if the given value is of type: Undefined
Parameters:
Name Type Description
val * any input value
Since:
  • 1.0.0
Source: