is-equally-spaced

v0.2.0
IsEquallySpaced is a simple utility function that given an array of numbers, evaluates wether or not every element is equally spaced, i.e. if every subsequent couple of numbers in the array has the same distance.
algorithm array typescript vector performance

npm i is-equally-spaced

Metadata

  • MIT
  • Whatever
  • Alberto Schiabel
  • released 6/24/2020

Downloads

Maintainers