Package version:

Function isOutputOfType

  • Determines if the given output is of the specified type.

    Type Parameters

    • T extends {
          type: string;
      }

      The type to check against, which extends one of the possible output parent types.

    Parameters

    Returns output is T

    A boolean indicating whether the action is of the specified type.