In MongoDB, the $asin
aggregation pipeline operator returns the arcsine (inverse sine) of a value, measured in radians.
$asin
accepts any valid expression that resolves to a number between -1
and 1
.
The $asin
operator was introduced in MongoDB 4.2.