Skip to main content

Math

An intrinsic object that provides basic mathematics functionality and constants.

Methods

clamp

clamp: (value: number, min: number, max: number) => number

square

square: (value: number) => number