Preparing search index...
The search index is not available
Airship Core
Airship Core
math
snap
Function snap
snap
(
n
,
step
)
:
number
Returns
n
snapped to the nearest multiple of
step
.
Parameters
n
:
number
step
:
number
Returns
number
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Airship Core
Loading...
Returns
n
snapped to the nearest multiple ofstep
.