Skip to content

parseQuantity

parseQuantity(raw): number

Defined in: packages/compiler/src/netlist.ts:2067

Parse a quantity to SI base units. A value that cannot be parsed is an error, not a default — a silently defaulted component is a silently wrong circuit.

string

number