isguard-ts
    Preparing search index...

    Type Alias TupleTypeGuard<T>

    TupleTypeGuard: TypeGuard<T> & { template: TypeGuardTemplate<T> }

    A TypeGuard for tuple types.

    Returned by isTuple.

    Type Parameters

    • T extends readonly unknown[]

      The tuple type to guard

    Type Declaration

    • template: TypeGuardTemplate<T>

      The template of type guards corresponding to each position in the tuple