IntSC extension
Supercharged extensions on int numbers.
- on
Properties
- days → Duration
-
Available on int, provided by the IntSC extension
Returns a Duration representing the current value as days.no setter - hours → Duration
-
Available on int, provided by the IntSC extension
Returns a Duration representing the current value as hours.no setter - microseconds → Duration
-
Available on int, provided by the IntSC extension
Returns a Duration representing the current value as microseconds.no setter - milliseconds → Duration
-
Available on int, provided by the IntSC extension
Returns a Duration representing the current value as milliseconds.no setter - minutes → Duration
-
Available on int, provided by the IntSC extension
Returns a Duration representing the current value as minutes.no setter - seconds → Duration
-
Available on int, provided by the IntSC extension
Returns a Duration representing the current value as seconds.no setter
Methods
-
isBetween(
num first, num second) → bool -
Available on int, provided by the IntSC extension
Returns a bool ifthisvalue is between (including) the two numeric valuesfirstandsecond. -
rangeTo(
int n) → Iterable< int> -
Available on int, provided by the IntSC extension
Creates an Iterable<int> that contains all values from current integer until (including) the valuen. -
times(
void action()) → void -
Available on int, provided by the IntSC extension
Executes the functionactionforthistimes. -
until(
int n) → Iterable< int> -
Available on int, provided by the IntSC extension
Creates an Iterable<int> that contains all values from current integer until (excluding) the valuen.