measurement-toolkit › "IBaseUnit" › IBaseUnit
-
↳ IBaseUnit
• derivedUnits: object
Defined in IBaseUnit.ts:12
- [ key: string]: function
▸ (): IUnit
• to: object
Defined in IUnit.ts:10
- [ key: string]: function
▸ (): IUnit
▸ add(unit
: IUnit): this
Defined in IUnit.ts:12
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ divideBy(unit
: IUnit): this
Defined in IUnit.ts:14
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ getConverters(): object
Defined in IBaseUnit.ts:14
Returns: object
- [ key: string]: function
▸ (): IUnit
▸ multiply(unit
: IUnit): this
Defined in IUnit.ts:16
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ percentageOf(unit
: IUnit): this
Inherited from IUnit.percentageOf
Defined in IUnit.ts:18
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ subtract(unit
: IUnit): this
Defined in IUnit.ts:20
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ toString(): string
Defined in IUnit.ts:22
Returns: string