@unction/reverse
v9.13.0
Published
![Tests][BADGE_TRAVIS] ![Stability][BADGE_STABILITY] ![Dependencies][BADGE_DEPENDENCY]
Downloads
77
Readme
@unction/reverse
OrderedArray | Set | Record<string | number | symbol, B> | Map<B, A> | string => OrderedArray | Set | Record<string | number | symbol, B> | Map<B, A> | string
Takes an ordered enumerable type and returns the reverse version of it.
reverse([1, 2, 3]) // [3, 2, 1]
reverse("abc") // "cba"