isguard-ts
    Preparing search index...

    Type Alias TypeofTypeGuard<T>

    TypeofTypeGuard: TypeGuard<TypeByTypeOfResult[T]> & { result: T }

    A TypeGuard that uses the typeof operator for validation.

    Returned by isTypeof.

    Type Parameters

    Type Declaration

    • result: T

      The expected typeof result