Low-level validation of a string.

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 string

Generated using TypeDoc