Skip to main content
Version: 4.1.0

clamp

Callable

  • clamp(val: number, minVal: number, maxVal: number): number

  • Parameters

    • val: number
    • minVal: number
    • maxVal: number

    Returns number