Comparator

Configurable Comparator similar to java.util.Comparator in Java 8

As of 03.10.2019. See ბოლო ვერსია.

ეს სკრიპტი არ უნდა იყოს პირდაპირ დაინსტალირებული. ეს ბიბლიოთეკაა, სხვა სკრიპტებისთვის უნდა ჩართეთ მეტა-დირექტივაში // @require https://update.greatest.deepsurf.us/scripts/390752/738034/Comparator.js.

ავტორი
Gerrit
ვერსია
0.1
შექმნილია
03.10.2019
განახლებულია
03.10.2019
Size
4,38 KB
ლიცენზია
პ/გ

Sets up a "compare(a, b)" - function:
- With accessor-functions (e.g. to sort by properies)
- In ascending or descending order
- null and undefined first or last

Possible chaining of Comparators or Accessor-functions.