In MongoDB, the $atanh aggregation pipeline operator returns the hyperbolic arctangent (inverse hyperbolic tangent) of a value.
The return value is in radians.
$atanh accepts any valid expression that resolves to a number between -1 and 1.
The $atanh operator was introduced in MongoDB 4.2.