MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / isIterable

Function isIterable

src/compute-engine/boxed-expression/utils.ts:86–93  ·  view source on GitHub ↗
(x: unknown)

Source from the content-addressed store, hash-verified

84 * - ln(e) -> 1
85 * - sin(0) -> 0
86 * - cos(0) -> 1
87 */
88export function hasSymbolicTranscendental(expr: Expression): boolean {
89 const op = expr.operator;
90 // Transcendental functions applied to numeric constants
91 const transcendentals = [
92 'Ln',
93 'Log',
94 'Log2',
95 'Log10',
96 'Sin',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected