• Get the tangent of a number (in degrees)

    Parameters

    • input: number

    Returns number

    Example

    import { number } from "@rjweb/utils"

    number.tan(0) // 0
    number.tan(45) // 1

    Since

    1.12.27

    Supports

    nodejs, browser