Discriminator<T>: ((value) => boolean)

A function that takes a value of type T and returns a boolean result. Used for discriminating or filtering values of type T in various operations.

Type Parameters

  • T

    The type of the value being discriminated.

Type declaration

    • (value): boolean
    • Parameters

      • value: T

        The value to be checked.

      Returns boolean

Returns

  • True if the value satisfies the condition, otherwise false.