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

Parameter

Type

Description

operator

string

left

Atom

right

Atom

impl

(x: number, y: number) => number | boolean