interface ITermComparator {
    orderTypes: (
        termA: undefined | Term,
        termB: undefined | Term,
    ) => -1 | 0 | 1;
}

Hierarchy (View Summary)

Properties

Properties

orderTypes: (termA: undefined | Term, termB: undefined | Term) => -1 | 0 | 1

Orders two RDF terms according to: https://www.w3.org/TR/sparql11-query/#modOrderBy

Type declaration

    • (termA: undefined | Term, termB: undefined | Term): -1 | 0 | 1
    • Parameters

      • termA: undefined | Term

        the first term

      • termB: undefined | Term

        the second term

      Returns -1 | 0 | 1