Unit
API / publicodes / Unit
type Unit: object; Represents the unit of a number.
Type declaration
| Name | Type | Defined in |
|---|---|---|
denominators | string[] | packages/core/src/AST/types.ts:116 |
numerators | string[] | packages/core/src/AST/types.ts:115 |
Example
{
numerators: ['m'],
denominators: ['s', 's']
}