Calculates the square root of a number.
sqrtArrowFunction is defined using a variable declaration:
sqrtArrowFunction
export const sqrtArrowFunction = (x: number): number => Math.sqrt(x); Copy
export const sqrtArrowFunction = (x: number): number => Math.sqrt(x);
TypeDoc is smart and documents sqrtArrowFunction as a function rather than a variable.
the number do calculate the root of.
the square root if x is non-negative or NaN if x is negative.
x
NaN
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.