Swift's Array has a first function which returns the first element of the array (or nil if the array is empty.)
Is there a built-in function that will return the remainder of the array without the first element?
Swift's Array has a first function which returns the first element of the array (or nil if the array is empty.)
Is there a built-in function that will return the remainder of the array without the first element?
There is one that might help you get what you are looking for:
Use like this: