Type Alias TypeGuardOf<T>

TypeGuardOf<T>: ((arg: unknown) => arg is T)

The basic type guard for a single type.

Type Parameters

  • T

    The type that the type guard is for.

Type declaration

    • (arg): arg is T
    • Parameters

      • arg: unknown

        The input to the type guard.

      Returns arg is T

MMNEPVFCICPMFPCPTTAAATR