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