unitOf
Function in @sascom/commonjs.
API catalogue · @sascom/commonjs · Function
Members#
| Member | Kind | Description |
|---|---|---|
| unitOf | Method | The unit with this symbol or alias, case-insensitive; null when there is none |
unitOf#
TypeScript#
unitOf(name: string | null | undefined): QuantityUnit | nullThe unit with this symbol or alias, case-insensitive; null when there is none
Parameters#
| Name | Type | Description |
|---|---|---|
name |
string | null | undefined |