• Limit a number to a minimum of min and a maximum of max

    Source

    Source code of limit

    Returns

    limited/constrained number

    Parameters

    • value: number

      number to limit

    • min: number

      minimum limit

    • max: number

      maximum limit

    Returns number

Generated using TypeDoc