Function explainEnum

  • Explain the given value with respect to the given enum.

    Returns

    A string explaining the value with respect to the enum.

    Parameters

    • name: string

      The name of the enum.

    • type: Enum<string>

      The enum.

    • isType: TestCallbackNonStandard

      A function that tests if a value is of the correct type.

    • value: unknown

      The value to explain.

    Returns string

Generated using TypeDoc