x-array
v1.0.15
Published
JsDK of Array Class
Downloads
98
Maintainers
Readme
x-array :
- See the container package
x-class
.
Use cases
[1,4,34,65].shuffle();
// [4,34,1,65]
//-------------
class Person{}
[{name:"Ahmed"},{name:"Jean"}].classify(Person);
// [new Person(),new Person()]
// array[0].name ---> "Ahmed"
//------------
[34,67,"gf"].contains("gf") //true
//--------------
// So on.. see list below
List of extended methods :
-
shuffle: [Function],
classify: [Function],
contains: [Function],
indexOfOld: [Function: indexOf],
clone: [Function],
ASCII: [Function],
flatten: [Function],
empty: [Function],
isFinite: [Function],
first: [Function],
last: [Function],
noSpace: [Function],
parseInt: [Function],
offset: [Function],
max: [Function],
min: [Function],
random: [Function],
unique: [Function],
remove: [Function],
isEmpty: [Function],
isntEmpty: [Function],
average: [Function],
pushunique: [Function],
subarray: [Function],
frequencies: [Function],
clean: [Function],
pluck: [Function],
prefixed: [Function],
inject: [Function],
insert: [Function],
toJsonWith: [Function] ]