Search…
Operators
Operator expressions are similar to functions that take arguments.
abs
$abs
Returns the absolute value of a number
acos
$acos
Returns a numeric value between 0 and π radians for x between -1 and 1
acosh
$acosh
Returns the inverse hyperbolic cosine of a number
acl
$acl
Not applicable
add
$add
Adds two or more array properties or expressions. In addition to numbers, a single Date value may be included in the array.
and
$and
Evaluates to true if all conditions in the passed in array evaluate to true
asin
$asin
Returns the arcsine (in radians) of a number
asinh
$asinh
Returns the hyperbolic arcsine of a number
atan
$atan
Returns the arctangent (in radians) of a number
atan2
$atan2
Returns the angle in the plane (in radians) between the positive x-axis and the ray from (0,0) to the point (x,y)
atanh
$atanh
Returns the hyperbolic arctangent of a number
ceil
$ceil
Always rounds a number up to the next largest integer
convert
$convert
Not applicable
cos
$cos
Returns the cosine of the specified angle, which must be specified in radians
dateFromParts
$dateFromParts
Returns a date from the specified parts (year, month, and day values)
dateFromString
$dateFromString
Converts a date object to a string in a specified format, and expects an array of [date_expression]
dateToParts
$dateToParts
Returns a document that contains the constituent parts of a given Date value as individual properties
dateToString
$dateToString
Converts a date object to a string according to a user-specified format
dayOfMonth
$dayOfMonth
Returns the day of the month for a date as a number between 1 and 31
dayOfWeek
$dayOfWeek
Returns the day of the week for a date as a number between 1 (Sunday) and 7 (Saturday)
Copy link