power library
Provides type-safe units for Power.
Import this file to use Power quantities and their extensions on num
(like 100.kW
, 250.hp
, 1.2.gigaW
).
Classes
Enums
- PowerUnit
- Represents units of power.
Extensions
- PowerCreation on num
- Provides convenient factory methods for creating Power instances from num.
- PowerValueGetters on Power
- Provides convenient access to Power values in specific units using getter properties.