Double_ extension

Supercharged extensions on double numbers.

on

Properties

days Duration
Returns a Duration representing the current value as days. [...]
read-only
hours Duration
Returns a Duration representing the current value as hours. [...]
read-only
minutes Duration
Returns a Duration representing the current value as minutes. [...]
read-only
seconds Duration
Returns a Duration representing the current value as seconds. [...]
read-only

Methods

between(num first, num second) bool
Returns a bool if this value is between (including) the two numeric values first and second. [...]
tweenTo(double end) Tween<double>
Returns a Tween<double> from this value to the given end value [...]