$sqrt
$sqrt(number?) -> numberCompact type signature
<n-:n>If number is omitted, the current context value is used.
Source: JSONata
Documentation
Returns the square root of the value of the number parameter.
An error is thrown if the value of number is negative.
Examples
Basic usage
$sqrt(4)=>2$sqrt(2)=>1.414213562373
Compute a square root
Input
81
Expression
$sqrt($)
Result
9