sqrtArrowFunction | TypeDoc Example
https://typedoc.org/example/functions/sqrtArrowFunction.html • 8 KB fetched Open original page
sqrtArrowFunction | TypeDoc Example
TypeDoc Example
Docs API GitHub
Preparing search index...
* sqrtArrowFunction
Function sqrtArrowFunction
*
sqrtArrowFunction ( x : number ) : number
Calculates the square root of a number.
sqrtArrowFunction is defined using a variable declaration:
export const sqrtArrowFunction = ( x : number ): number => Math . sqrt ( x );
Copy
TypeDoc is smart and documents sqrtArrowFunction as a function rather than a variable.
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.
* Defined in example/src/functions.ts:25
Settings
Member Visibility
* Protected
* Inherited
* External
Theme OS Light Dark
Docs API GitHub
TypeDoc Example
* Loading...
Generated using TypeDoc
Links found on this page
- TypeDoc Example [direct]
- Docs [direct]
- API [direct]
- GitHub [direct]
- sqrtArrowFunction [direct]
- example/src/functions.ts:25 [direct]
- TypeDoc Example [direct]
|
|