StructNew
Creates a new struct of the specified type.
The available types are:
casesensitive
default
ordered-casesensitive
ordered
soft
sorted
weak
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The struct type |
|
|
|
| An optional sort type to apply to that type | |
|
|
| The sort order applicable to the sortType argument |
|
|
|
|
| |
|
|
| An optional callback to use as the sorting function. You can alternatively pass a Java Comparator. |
Examples
Related
Last updated