Skip to content
Vue Flow
Search
Meta
K
Main Navigation
v2.0.0-next.0
Guide
Examples
Migration
TypeDocs
github
discord
Appearance
github
discord
Menu
Return to top
Function: clamp
#
â–¸
clamp
(
val
,
min?
,
max?
):
number
Parameters
#
Name
Type
Default value
val
number
undefined
min
number
0
max
number
1
Returns
#
number