core.arithmeticoperatoratom._constructor_
Home > @medplum/core > ArithmeticOperatorAtom > (constructor)
ArithmeticOperatorAtom.(constructor)
Constructs a new instance of the ArithmeticOperatorAtom class
Signature:
constructor(operator: string, left: Atom, right: Atom, impl: (x: number, y: number) => number | boolean);
Parameters
Parameter | Type | Description |
|---|---|---|
operator | string | |
left | ||
right | ||
impl | (x: number, y: number) => number | boolean |