API Reference > imodeljs-Quantity > Quantity > BadUnit BadUnit Class Beta This class is a convenience class that can be returned when a valid Unit cannot be determined. Implements UnitProps Methods Name Description constructor(): BadUnit Properties Name Type Description 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 quantity/src/Unit.ts Line 38 Last Updated: 12 June, 2024