typograph-editor-documentation
Preparing search index...
swatch_color_control
clamped
Function clamped
clamped
(
value
:
unknown
,
min
:
number
,
max
:
number
)
:
number
value
as a finite number within [min, max]; anything that is not a number becomes
min
.
Parameters
value
:
unknown
min
:
number
max
:
number
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
typograph-editor-documentation
Loading...
valueas a finite number within [min, max]; anything that is not a number becomesmin.