Comunica
    Preparing search index...

    Interface ITermComparator

    Orders RDF terms.

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

    Properties

    Properties

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

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

    Type Declaration

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

        • termA: Term | undefined

          the first term

        • termB: Term | undefined

          the second term

        Returns -1 | 0 | 1