Interface for builder type-checking.

interface BuilderIs<TValue> {
    is(task: unknown): task is TValue;
}

Type Parameters

  • TValue

    The type of value to check.

Hierarchy (View Summary)

Methods

Methods

  • Checks if the provided task is of the specified type.

    Parameters

    • task: unknown

      Object to check.

    Returns task is TValue

    true if the task is of the specified type.