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