Skip to content

@vue-flow/monorepo • Docs


Function: clamp() ​

clamp(val, min, max): number

Parameters ​

• val: number

• min: number = 0

• max: number = 1

Returns ​

number

Released under the MIT License.