Skip to main content
Version: Next

clamp

Callable

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

  • Parameters

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

    Returns number