Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Predicates

Hierarchy

  • Predicates

Index

Properties

any: (<T1>(p1: BasePredicate<T1>) => AnyPredicate<T1>) & (<T1, T2>(p1: BasePredicate<T1>, p2: BasePredicate<T2>) => AnyPredicate<T1 | T2>) & (<T1, T2, T3>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>) => AnyPredicate<T1 | T2 | T3>) & (<T1, T2, T3, T4>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>) => AnyPredicate<T1 | T2 | T3 | T4>) & (<T1, T2, T3, T4, T5>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>, p5: BasePredicate<T5>) => AnyPredicate<T1 | T2 | T3 | T4 | T5>) & (<T1, T2, T3, T4, T5, T6>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>, p5: BasePredicate<T5>, p6: BasePredicate<T6>) => AnyPredicate<T1 | T2 | T3 | T4 | T5 | T6>) & (<T1, T2, T3, T4, T5, T6, T7>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>, p5: BasePredicate<T5>, p6: BasePredicate<T6>, p7: BasePredicate<T7>) => AnyPredicate<T1 | T2 | T3 | T4 | T5 | T6 | T7>) & (<T1, T2, T3, T4, T5, T6, T7, T8>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>, p5: BasePredicate<T5>, p6: BasePredicate<T6>, p7: BasePredicate<T7>, p8: BasePredicate<T8>) => AnyPredicate<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8>) & (<T1, T2, T3, T4, T5, T6, T7, T8, T9>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>, p5: BasePredicate<T5>, p6: BasePredicate<T6>, p7: BasePredicate<T7>, p8: BasePredicate<T8>, p9: BasePredicate<T9>) => AnyPredicate<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>) & (<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(p1: BasePredicate<T1>, p2: BasePredicate<T2>, p3: BasePredicate<T3>, p4: BasePredicate<T4>, p5: BasePredicate<T5>, p6: BasePredicate<T6>, p7: BasePredicate<T7>, p8: BasePredicate<T8>, p9: BasePredicate<T9>, p10: BasePredicate<T10>) => AnyPredicate<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10>) & ((...predicate: BasePredicate<unknown>[]) => AnyPredicate<unknown>)

Test that the value matches at least one of the given predicates.

array: ArrayPredicate<unknown>

Test the value to be an array.

arrayBuffer: ArrayBufferPredicate<ArrayBuffer>

Test the value to be a ArrayBuffer.

Test the value to be an bigint.

Test the value to be a boolean.

buffer: Predicate<Buffer>

Test the value to be a Buffer.

Test the value to be a DataView.

Test the value to be a Date.

Test the value to be an Error.

float32Array: TypedArrayPredicate<Float32Array>

Test the value to be a Float32Array.

float64Array: TypedArrayPredicate<Float64Array>

Test the value to be a Float64Array.

function: Predicate<Function>

Test the value to be a Function.

int16Array: TypedArrayPredicate<Int16Array>

Test the value to be a Int16Array.

int32Array: TypedArrayPredicate<Int32Array>

Test the value to be a Int32Array.

int8Array: TypedArrayPredicate<Int8Array>

Test the value to be a Int8Array.

iterable: Predicate<Iterable<unknown>>

Test the value to be Iterable.

map: MapPredicate<unknown, unknown>

Test the value to be a Map.

nan: Predicate<number>

Test the value to be not a number.

null: Predicate<null>

Test the value to be null.

nullOrUndefined: Predicate<undefined | null>

Test the value to be null or undefined.

Test the value to be a number.

object: ObjectPredicate<object>

Test the value to be an object.

promise: Predicate<Promise<unknown>>

Test the value to be a Promise.

regExp: Predicate<RegExp>

Test the value to be a RegExp.

set: SetPredicate<any>

Test the value to be a Set.

sharedArrayBuffer: ArrayBufferPredicate<SharedArrayBuffer>

Test the value to be a SharedArrayBuffer.

Test the value to be a string.

symbol: Predicate<symbol>

Test the value to be a Symbol.

typedArray: TypedArrayPredicate<TypedArray>

Test the value to be a typed array.

uint16Array: TypedArrayPredicate<Uint16Array>

Test the value to be a Uint16Array.

uint32Array: TypedArrayPredicate<Uint32Array>

Test the value to be a Uint32Array.

uint8Array: TypedArrayPredicate<Uint8Array>

Test the value to be a Uint8Array.

uint8ClampedArray: TypedArrayPredicate<Uint8ClampedArray>

Test the value to be a Uint8ClampedArray.

undefined: Predicate<undefined>

Test the value to be undefined.

weakMap: WeakMapPredicate<object>

Test the value to be a WeakMap.

weakSet: WeakSetPredicate<object>

Test the value to be a WeakSet.