- Source
Classes
Methods
(static) arrayle(a, b) → {boolean}
Compare two arrays element-wise: return true if a < b in lexicographic element comparison.
Parameters:
| Name | Type | Description |
|---|---|---|
a | Array.<number> | First array. |
b | Array.<number> | Second array. |
- Source
Returns:
True if arrays compare as a < b, false otherwise.
- Type:
- boolean
(static) bytelen(x) → {number}
Return byte length of a string using Blob (UTF-8 byte count).
Parameters:
| Name | Type | Description |
|---|---|---|
x | string | Input string. |
- Source
Returns:
Byte length of the string.
- Type:
- number