linearly v0.32.0Docs


linearly v0.32.0 / scalar / length

Function: length()

length(x): number

Returns the absolute difference between two numbers

Parameters

x: number

A numeric expression for which the absolute value is needed.

Returns

number

Shorthands

Defined in

src/scalar.ts:185open in new window