sqrt
Returns the square root of a number.
sqrt
Returns the square root of a number.
Type: transform
Parameters
- input (unknown): The input number to get the square root of.
Returns
Type: number
The square root of the input, or NaN if input cannot be converted to a number.
Examples
sqrt(16) // 4
(25)|sqrt // 5
sqrt(2) // 1.4142135623730951