Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ units.ts
File
units.ts
src/compute-engine/library/units.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
type
{ SymbolDefinitions, Expression } from
'../global-types.js'
;
2
import
{
3
isSymbol,
4
isString,
Callers
nothing calls this directly
Calls
15
isString
Function · 0.90
parseUnitDSL
Function · 0.90
isFunction
Function · 0.90
isSymbol
Function · 0.90
convertUnit
Function · 0.90
convertCompoundUnit
Function · 0.90
getExpressionDimension
Function · 0.90
findNamedUnit
Function · 0.90
getExpressionScale
Function · 0.90
dimensionsEqual
Function · 0.90
boxedToUnitExpression
Function · 0.85
error
Method · 0.65
Tested by
no test coverage detected