Is_a_type
`breads.types`
Function: exists
. Returns true if value isn't null or undefined
, else returns false.
exists
. Returns true if value isn't null or undefined
, else returns false.Example:
Function: isFunction
. Returns true if value is a function, false otherwise. (The function does not execute)
isFunction
. Returns true if value is a function, false otherwise. (The function does not execute)Example:
Function: isNumber
. Returns true if value is a number, false otherwise.
isNumber
. Returns true if value is a number, false otherwise.Example:
Function: isObject
. Returns true if value is an object, false otherwise.
isObject
. Returns true if value is an object, false otherwise.Example:
Function: isString
. Returns true if value is an String object or it has a type of "string", false otherwise.
isString
. Returns true if value is an String object or it has a type of "string", false otherwise.Example:
Last updated