Skip to main content

core.arithemticoperatoratom._constructor_

Home > @medplum/core > ArithemticOperatorAtom > (constructor)

ArithemticOperatorAtom.(constructor)

Constructs a new instance of the ArithemticOperatorAtom class

Signature:

constructor(operator: string, left: Atom, right: Atom, impl: (x: number, y: number) => number | boolean);

Parameters

ParameterTypeDescription
operatorstring
leftAtom
rightAtom
impl(x: number, y: number) => number | boolean