force library

Provides type-safe units for Force.

Import this file to use Force quantities and their extensions on num (like 100.N, 50.lbf).

Classes

Force
Represents a quantity of force.
Quantity<T extends Unit<T>>
An abstract representation of a physical quantity, encapsulating a numerical value and a specific unit of measurement.
Unit<T extends Unit<T>>
A contract for all unit enums.

Enums

ForceUnit
Represents units of force.

Extensions

ForceCreation on num
Provides convenient factory methods for creating Force instances from num.
ForceValueGetters on Force
Provides convenient access to Force values in specific units.