- Source:
Methods
(static) clip(str, len) → {String}
Ellipsize string to some length, add ...
Parameters:
Name | Type | Description |
---|---|---|
str |
String | |
len |
Number |
- Source:
Returns:
- Type
- String
(static) toArray(value) → {Array}
Covert any value to one-element array, null to []
Parameters:
Name | Type | Description |
---|---|---|
value |
* |
- Source:
Returns:
- Type
- Array