- Preparing search index...
- The search index is not available
atomic-fns
- sorted<T>(args: T[]): T[]
-
Returns T[]
- sorted<T>(args: T[], reverse: boolean): T[]
-
Parameters
-
args: T[]
-
reverse: boolean
Returns T[]
- sorted<T>(args: T[], reverse: boolean, comp: Comparer<any>): T[]
-
Parameters
-
args: T[]
-
reverse: boolean
-
Returns T[]
- sorted<T>(args: T[], key: Function<any>): T[]
-
Parameters
-
args: T[]
-
key: Function<any>
Returns T[]
- sorted<T>(args: T[], key: Function<any>, reverse: boolean): T[]
-
Parameters
-
args: T[]
-
key: Function<any>
-
reverse: boolean
Returns T[]
Creates a new sorted list from the elements in the array. This can be called many ways:
If
args
is an Object, returns the sorted keys.Returns