measurement-toolkit › "Unit" › Unit
-
Unit
↳ Speed
• get to(): any
Defined in Unit.ts:14
Returns: any
▸ add(unit
: IUnit): this
Implementation of IUnit
Defined in Unit.ts:22
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ divideBy(unit
: IUnit): this
Implementation of IUnit
Defined in Unit.ts:24
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ getConverters(): object
Defined in Unit.ts:18
Returns: object
- [ key: string]: function
▸ (): IUnit
▸ multiply(unit
: IUnit): this
Implementation of IUnit
Defined in Unit.ts:26
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ percentageOf(unit
: IUnit): this
Implementation of IUnit
Defined in Unit.ts:28
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ subtract(unit
: IUnit): this
Implementation of IUnit
Defined in Unit.ts:30
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this