👋
Software Engineer at @payloadcms.
- Grand Rapids MI
- @jarrodmflesch
Block or Report
Block or report JarrodMFlesch
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
Segment Array
Segment Array 1function segmentArray<T>(arrayToSegment: T[], segmentSize: number): T[][] {
2const segmentedArray = arrayToSegment.reduce(
3(segments, item) => {
4const newSegments: any[] = [...segments]
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.