Skip to content

textmode.js / Textmodifier / min

Method: min() ​

Call Signature ​

ts
min(...values): number;

Return the smallest value in a sequence.

Parameters ​

ParameterTypeDescription
...valuesnumber[]Values to compare.

Returns ​

number

Smallest value.

Example ​

Call Signature ​

ts
min(values): number;

Return the smallest value in an array.

Parameters ​

ParameterTypeDescription
valuesreadonly number[]Values to compare.

Returns ​

number

Smallest value.

Example ​