Belt.Range
Utilities for a closed range (from, start)
A small module to provide a inclusive range operations [start, finsish]
, it use a for-loop internally instead of creating an array
forEach start finish action
equivalent to Belt.Array.(forEach (range start finish) action)
every start finish p
equivalent to Belt.Array.(every (range start finish) p )
everyBy start finish ~step p
equivalent to Belt.Array.(every (rangeBy start finish ~step) p)
some start finish p
equivalent to Belt.Array.(some (range start finish) p)
someBy start finish ~step p
equivalent to Belt.Array.(some (rangeBy start finish ~step) p)