Greasy Fork is available in English.

Comparator

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

Ovu skriptu ne treba izravno instalirati. To je biblioteka za druge skripte koje se uključuju u meta direktivu // @require https://update.greasyfork.org/scripts/390752/745016/Comparator.js

Autor
Gerrit
Verzija
0.4
Stvoreno
03.10.2019.
Ažurirano
29.10.2019.
Licenza
N/A

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.