Function and

  • Combines multiple guards into a single guard using the logical && operator.

    Type Parameters

    • const G extends string

      The type of the guard.

    Parameters

    Returns And<G>

    The combined guard.