Function: assertCalcLiteral()
assertCalcLiteral(
value,type):boolean
Defined in: packages/core/src/utils/assert-literal.ts:16
Returns true if value is a literal Calculation whose evaluated result matches the given type.
Parameters
| Parameter | Type |
|---|---|
value | unknown |
type | string | Function |
Returns
boolean