MolarAmountCreation extension

Provides convenient factory methods for creating MolarAmount instances from num using getter properties named after common unit symbols or names.

This allows for an intuitive and concise way to create molar amount quantities, for example: 0.5.mol or 25.millimoles.

on

Properties

kilomoles MolarAmount

Available on num, provided by the MolarAmountCreation extension

Creates a MolarAmount instance representing this numerical value in Kilomoles (kmol). Alias for kmol.
no setter
kmol MolarAmount

Available on num, provided by the MolarAmountCreation extension

Creates a MolarAmount instance representing this numerical value in Kilomoles (kmol).
no setter
micromoles MolarAmount

Available on num, provided by the MolarAmountCreation extension

Creates a MolarAmount instance representing this numerical value in Micromoles (µmol). Alias for umol.
no setter
millimoles MolarAmount

Available on num, provided by the MolarAmountCreation extension

Creates a MolarAmount instance representing this numerical value in Millimoles (mmol). Alias for mmol.
no setter
mmol MolarAmount

Available on num, provided by the MolarAmountCreation extension

Creates a MolarAmount instance representing this numerical value in Millimoles (mmol).
no setter
mol MolarAmount

Available on num, provided by the MolarAmountCreation extension

Creates a MolarAmount instance representing this numerical value in Moles (mol).
no setter
moles MolarAmount

Available on num, provided by the MolarAmountCreation extension

Creates a MolarAmount instance representing this numerical value in Moles (mol). Alias for mol.
no setter
nanomoles MolarAmount

Available on num, provided by the MolarAmountCreation extension

Creates a MolarAmount instance representing this numerical value in Nanomoles (nmol). Alias for nmol.
no setter
nmol MolarAmount

Available on num, provided by the MolarAmountCreation extension

Creates a MolarAmount instance representing this numerical value in Nanomoles (nmol).
no setter
picomoles MolarAmount

Available on num, provided by the MolarAmountCreation extension

Creates a MolarAmount instance representing this numerical value in Picomoles (pmol). Alias for pmol.
no setter
pmol MolarAmount

Available on num, provided by the MolarAmountCreation extension

Creates a MolarAmount instance representing this numerical value in Picomoles (pmol).
no setter
umol MolarAmount

Available on num, provided by the MolarAmountCreation extension

Creates a MolarAmount instance representing this numerical value in Micromoles (µmol).
no setter