Tanh

Copied!
( value )

Description

A trigonometric function that returns the hyperbolic tangent of a number.

Parameters

Argument Type Definition and Requirements

value

Number

Take the hyperbolic tangent of this value.

Returns

A number which is the hyperbolic tangent of the value.

Examples

The query in the following example returns the hyperbolic tangent of 1.5:

Copied!
client.query(
  q.(0.5)
)
.then((ret) => console.log(ret))
0.46211715726000974

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!