@8hobbies/utils
    Preparing search index...

    Type Alias TypeGuardOf<T>

    TypeGuardOf: (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: unknown): arg is T
      • Parameters

        • arg: unknown

          The input to the type guard.

        Returns arg is T