Function sqrt

  • Compute the square root of a number.

    Parameters

    • x: number

      A number.

    Returns number

    Returns the square root of a number.

    Since

    0.1.0

    Example

    root(9)
    // => 3