like string.split => output arrays of elements and use the given parameter as a delimiter
pipe( itr8FromArray([ 'hello', '|', 'world' ]), split('|'), // => [ ['hello'], ['world'] ] );
pipe( itr8FromArray([ 1, true, 2, 3, true, 4 ]), split(true), // => [ [1], [2,3], [4] ] );
Generated using TypeDoc
like string.split => output arrays of elements and use the given parameter as a delimiter
Example
Example