DoubleSC 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
@Deprecated('Use isBetween() instead')
isBetween(num first, num second) bool
Returns a bool if this value is between (including) the two numeric values first and second. [...]