Variables
isArray: isArray = Array.isArray
isDate: function = <any> ((x: any) => toStr.call(x) === '[object Date]')
Type declaration
-
-
Parameters
Returns boolean
isDefined: function = not(isUndefined)
Type declaration
-
-
Parameters
Returns boolean
isFunction: function = <any> tis('function')
Type declaration
-
-
Parameters
Returns boolean
isNullOrUndefined: function = or(isNull, isUndefined)
Type declaration
-
-
Parameters
Returns boolean
isNumber: function = <any> tis('number')
Type declaration
-
-
Parameters
Returns boolean
isPromise: function = <(x: any) => x is Promise<any>> and(isObject, pipe(prop('then'), isFunction))
Type declaration
-
-
Parameters
Returns boolean
isRegExp: function = <any> ((x: any) => toStr.call(x) === '[object RegExp]')
Type declaration
-
-
Parameters
Returns boolean
isState: function = StateObject.isState
Type declaration
-
-
Parameters
Returns boolean
isString: function = <(x: any) => x is string> tis('string')
Type declaration
-
-
Parameters
Returns boolean
isUndefined: (Anonymous function) = tis('undefined')
toStr: toString = Object.prototype.toString
Predicates
These predicates return true/false based on the input. Although these functions are exported, they are subject to change without notice.
common_predicates