sqrtArrowFunction
sqrtArrowFunction(x: number): number
Parameters
x: number
the number do calculate the root of.
Returns number
the square root if x
is non-negative or NaN
if x
is negative.
sqrtArrowFunction(x: number): number
x: number
the number do calculate the root of.
the square root if x
is non-negative or NaN
if x
is negative.
Calculates the square root of a number.
sqrtArrowFunction
is defined using a variable declaration:TypeDoc is smart and documents
sqrtArrowFunction
as a function rather than a variable.