Seeking Utility for Unpacking First Item and Rest of Array for reducers in Effect

hey I keep finding myself having to unpack the first item of a list and then "the rest" when using reduce.

in lisp you'd do something with car/cdr - is there a useful util to do something similar in effect? Array.at returns something that has undefined in the type signature which is pretty annoying, and doesn't help with the slice of the rest of the array.
Was this page helpful?