Function isAmendatory

  • Checks whether the given value is an Amendatory instance.

    Type Parameters

    • TAmended extends object

      Amended entity type.

    • TOther = unknown

      Another type the value may have.

    Parameters

    • value: TOther | Amendatory<TAmended>

      The value to check.

    Returns value is Amendatory<TAmended>

    true if the given value is an object or function with applyAmendment method, or false otherwise.

Generated using TypeDoc