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

Function asHsl

src/compute-engine/compilation/javascript-target.ts:1419–1425  ·  view source on GitHub ↗
(input: string | number[])

Source from the content-addressed store, hash-verified

1417 if (args.some(isCollectionEqualityOperandJS)) {
1418 if (args.length === 2) {
1419 const helper = kind === 'Equal' ? 'eq' : 'neq';
1420 return `_SYS.${helper}((${compile(args[0])}), (${compile(args[1])}))`;
1421 }
1422 throw new Error(
1423 `Could not compile \`${kind}\`: chained (n-ary) comparison over an operand ` +
1424 `that may be a collection at run time (collection-valued or ` +
1425 `possibly-collection-typed). Materialize the collection first.`
1426 );
1427 }
1428 // Each operand is compiled exactly once, here: the direct emission is what

Callers

nothing calls this directly

Calls 1

toRgb255Function · 0.85

Tested by

no test coverage detected