A delegate which determines whether the object meets a set of criteria.

Type Parameters

  • T = undefined

Constructors

Constructors

  • Constructor for predicates.

    Type Parameters

    • T = undefined

    Parameters

    • argType: TypeRef<CsType<T>>

      The type of objects to compare.

    • callback: ((obj: T) => boolean | Boolean)

      A callback function which determines if the object meets the criteria.

    Returns Predicate<T>