linearly v0.32.0Docs


linearly v0.32.0 / scalar / rad

Function: rad()

rad(deg): number

Alias for radians

Parameters

deg: number

A number in degrees

Returns

number

The radians equivalent of the input

Shorthands

Defined in

src/scalar.ts:369open in new window