num_utilities 1.0.5 copy "num_utilities: ^1.0.5" to clipboard
num_utilities: ^1.0.5 copied to clipboard

A collection of extension methods for nums, ints, and doubles; and iterables of nums, ints, and doubles.

[1.0.5] - January 18, 2023 #

  • Added the [center] and [map] methods to [Range].

  • Added the [sign] extension method to [Random].

[1.0.4] - December 1, 2022 #

  • Added the [Range] object.

[1.0.3] - July 11, 2022 #

  • Added the [isWithin] and [isWithinRange] methods to [num].

[1.0.2] - January 6, 2022 #

  • Added the [roundToPrecision] method to [num] and [double].

[1.0.1] - March 15, 2021 #

  • Updated every method and getter to cast to and reference a single implementation of each respective method/getter on Iterable<num?>.

  • Added the [isIncremental] and [isDecremental] methods to Iterable<num>.

[1.0.0] - March 3, 2021 #

  • Migrated to null-safe code.

  • Added the [invert] getter to [num], [int], and [double].

[0.1.0] - January 28, 2021 #

  • Initial release.
1
likes
130
pub points
45%
popularity

Publisher

verified publisherjamesalex.dev

A collection of extension methods for nums, ints, and doubles; and iterables of nums, ints, and doubles.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on num_utilities