Type Alias StrictPredicate<T, S>

StrictPredicate: (value: T) => value is S

A function that returns a truthy or falsey value that determines if T is S.

Type Parameters

  • T
  • S extends T

Type declaration

    • (value: T): value is S
    • Parameters

      • value: T

      Returns value is S