Functions
Const isArray
- isArray<T, U>(term: U | T[]): term is T[]
Type parameters
Parameters
Returns term is T[]
Const isDate
- isDate<U>(term: U | Date): term is Date
Type parameters
Parameters
Returns term is Date
Const isFunction
- isFunction<T, U>(term: T | U): term is T
Type parameters
Parameters
Returns term is T
Const isMap
- isMap<K, V, U>(term: U | Map<K, V>): term is Map<K, V>
Type parameters
Parameters
Returns term is Map<K, V>
Const isNull
- isNull<T>(term: null | T): term is null
Type parameters
Parameters
Returns term is null
Const isObject
- isObject<T, U>(term: T | U): term is NonNullable<T>
Type parameters
Parameters
Returns term is NonNullable<T>
Const isSet
- isSet<T, U>(term: U | Set<T>): term is Set<T>
Type parameters
Parameters
Returns term is Set<T>
Const isWeakMap
- isWeakMap<K, V, U>(term: U | WeakMap<K, V>): term is WeakMap<K, V>
Type parameters
Parameters
Returns term is WeakMap<K, V>
Const isWeakSet
- isWeakSet<T, U>(term: U | WeakSet<T>): term is WeakSet<T>
Type parameters
Parameters
Returns term is WeakSet<T>