Skip to content

An esoteric package to retrieve the first part of an array.

License

Notifications You must be signed in to change notification settings

GoatCodeNL/esoteric-array-slicer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esoteric-array-slicer

An esoteric package to retrieve the first part of an array.

Usage

Example

Get the first 20 elements of an array of 1000 elements.

$a = range(1,1000);
$n = 20
$slicer = new \GoatCodeNL\Slicer\Slicer();
$slice = $slicer->slice($a, $n);

About

An esoteric package to retrieve the first part of an array.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages