Array

Array

Methods

__pointerFilter(cb) → {Array.<any>}

Source:
Parameters:
Name Type Description
cb function

receives 3 parameters ( item, index, array )

Returns:
Type
Array.<any>

base64encode() → {ArrayBuffer}

Source:
Returns:
Type
ArrayBuffer

bytesToHex() → {string}

Source:
Returns:
Type
string

inArray(a, comparator) → {boolean}

Source:
Parameters:
Name Type Description
a any
comparator function
Returns:
Type
boolean

indexOfSect(items, fromIndexopt) → {Array.<any>}

Source:
Parameters:
Name Type Attributes Default Description
items Array.<any>
fromIndex number <optional>
0
Returns:
Type
Array.<any>

max() → {any}

Source:
Returns:
Type
any

min() → {any}

Source:
Returns:
Type
any

move(from, to) → {Array.<any>}

Source:
Parameters:
Name Type Description
from number
to number
Returns:
Type
Array.<any>

resetArray() → {Array.<any>}

Source:
Returns:
Type
Array.<any>

shuffle() → {Array.<any>}

Source:
Returns:
Type
Array.<any>

split(elem, num, cmp) → {Array.<any>}

Source:
Parameters:
Name Type Description
elem any
num number

number of items

cmp 'indexOf' | 'lastIndexOf' | 'indexOfSect'
Returns:
Type
Array.<any>

splitSect(elem, num) → {Array.<any>}

Source:
Parameters:
Name Type Description
elem Array.<any>
num number

number of items

Returns:
Type
Array.<any>

toBinaryString() → {string}

Source:
Returns:
Type
string

toBlob(mimetype, sliceSizeopt) → {Blob}

Source:
Parameters:
Name Type Attributes Default Description
mimetype string
sliceSize number <optional>
1024

number of items

Returns:
Type
Blob

toBytesBinary() → {string}

Source:
Returns:
Type
string

toBytesEscaped() → {string}

Source:
Returns:
Type
string

toParamObj() → {Object.<any, any>}

Source:
Returns:
Type
Object.<any, any>

toStringUtf8() → {string}

Source:
Returns:
Type
string

unique() → {Array.<any>}

Source:
Returns:
Type
Array.<any>