Methods
__pointerFilter(cb) → {Array.<any>}
Parameters:
Name | Type | Description |
---|---|---|
cb |
function | receives 3 parameters ( item, index, array ) |
Returns:
- Type
- Array.<any>
base64encode() → {ArrayBuffer}
Returns:
- Type
- ArrayBuffer
bytesToHex() → {string}
Returns:
- Type
- string
inArray(a, comparator) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
a |
any | |
comparator |
function |
Returns:
- Type
- boolean
indexOfSect(items, fromIndexopt) → {Array.<any>}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
items |
Array.<any> | |||
fromIndex |
number |
<optional> |
0
|
Returns:
- Type
- Array.<any>
max() → {any}
Returns:
- Type
- any
min() → {any}
Returns:
- Type
- any
move(from, to) → {Array.<any>}
Parameters:
Name | Type | Description |
---|---|---|
from |
number | |
to |
number |
Returns:
- Type
- Array.<any>
resetArray() → {Array.<any>}
Returns:
- Type
- Array.<any>
shuffle() → {Array.<any>}
Returns:
- Type
- Array.<any>
split(elem, num, cmp) → {Array.<any>}
Parameters:
Name | Type | Description |
---|---|---|
elem |
any | |
num |
number | number of items |
cmp |
'indexOf' | 'lastIndexOf' | 'indexOfSect' |
Returns:
- Type
- Array.<any>
splitSect(elem, num) → {Array.<any>}
Parameters:
Name | Type | Description |
---|---|---|
elem |
Array.<any> | |
num |
number | number of items |
Returns:
- Type
- Array.<any>
toBinaryString() → {string}
Returns:
- Type
- string
toBlob(mimetype, sliceSizeopt) → {Blob}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
mimetype |
string | |||
sliceSize |
number |
<optional> |
1024
|
number of items |
Returns:
- Type
- Blob
toBytesBinary() → {string}
Returns:
- Type
- string
toBytesEscaped() → {string}
Returns:
- Type
- string
toParamObj() → {Object.<any, any>}
Returns:
- Type
- Object.<any, any>
toStringUtf8() → {string}
Returns:
- Type
- string
unique() → {Array.<any>}
Returns:
- Type
- Array.<any>