Low-level validation of a number.

Hierarchy

Methods

  • Validates TResult value according to the specified limits.

    Returns

    The specified value if it is valid.

    Throws

    Error with explanatory message without actual value if it is invalid.

    Parameters

    Returns number

Generated using TypeDoc