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

Function isQuantity

src/compute-engine/library/quantity-arithmetic.ts:38–40  ·  view source on GitHub ↗
(expr: Expression)

Source from the content-addressed store, hash-verified

36} from './measurement-arithmetic.js';
37
38// ---------------------------------------------------------------------------
39// Type guard
40// ---------------------------------------------------------------------------
41
42/** A Quantity function expression with guaranteed op1 and op2 access. */
43export type QuantityExpr = Expression & {

Callers 6

quantityCompareFunction · 0.90
arithmetic.tsFile · 0.90
quantityAddFunction · 0.85
quantityMultiplyFunction · 0.85
quantityDivideFunction · 0.85
quantityPowerFunction · 0.85

Calls 1

isFunctionFunction · 0.90

Tested by

no test coverage detected