BasicUnit Class

Beta  

This class provides basic implementation of UnitProps interface.

Implements

Methods

Name Description
constructor(name: string, label: string, phenomenon: string, alternateLabels?: string[], system?: string): BasicUnit    

Properties

Name Type Description
alternateLabels undefined | string[] Optionally defined set of unit labels that can be used to represent the unit.  
isValid boolean This is set to true if the Unit is known by the UnitsProvider.  
label string Default label for unit.  
name string Unique name for unit.  
phenomenon string Unique name of unit phenomenon.  
system string Unique system name.  

Defined in

Last Updated: 11 June, 2024