Skip to content

routier-collection


routier-collection / core/src / peelCalls

Function: peelCalls() ​

peelCalls(expression): PeeledOperand

Defined in: core/src/expressions/utils.ts:18

Separates an operand from the calls applied to it.

null when there is no operand beneath the calls. Every consumer needs this to decide whether a comparator side is a property or a value, so it lives here rather than in each translator.

Parameters ​

expression ​

Expression

Returns ​

PeeledOperand

Released under the MIT License.