utility-pickle - v0.1.0
    Preparing search index...

    Type Alias GuardFunc<Outcome>

    GuardFunc: (v: unknown) => v is Outcome

    Represents a type guard function that checks whether a given unknown value is of type Outcome. Returns true if the value matches, and enables type narrowing within a conditional block.

    Type Parameters

    • Outcome

      The type that the guard function asserts.

    Type declaration