UNPKG

@holgerengels/compute-engine

Version:

Symbolic computing and numeric evaluations for JavaScript and Node.js

10 lines (9 loc) 489 B
/* 0.26.0-alpha2 */ import type { BoxedExpression } from './public'; /** Apply the function `f` to each operand of the expression `expr`, * account for the 'hold' property of the function definition: * * Account for `Hold`, `ReleaseHold`, `Sequence`, `Symbol` and `Nothing`. * * If `f` returns `null`, the element is not added to the result */ export declare function holdMap(expr: BoxedExpression, f: (x: BoxedExpression) => BoxedExpression | null): ReadonlyArray<BoxedExpression>;