@nevware21/ts-utils
    Preparing search index...

    Function mathTan

    The mathTan() function returns the tangent of a number.

    0.12.0

    A number (given in radians)

    The tangent of the given number

    mathTan(0); // 0
    mathTan(Math.PI / 4); // 1 (approximately)
    mathTan(Math.PI / 2); // Infinity or a very large number (depending on implementation)
    • Returns the tangent of a number.

      Parameters

      • x: number

        A numeric expression that contains an angle measured in radians.

      Returns number