RDF.XSD.NonPositiveInteger.compare
You're seeing just the function
compare
, go back to RDF.XSD.NonPositiveInteger module for more information.
Specs
compare(RDF.Literal.t() | any(), RDF.Literal.t() | any()) :: RDF.Literal.Datatype.comparison_result() | :indeterminate | nil
Compares two RDF.Literal
s.
If the first literal is greater than the second :gt
is returned, if less than :lt
is returned.
If both literal are equal :eq
is returned.
If the literals can not be compared either nil
is returned, when they generally can be compared
due to their datatype, or :indeterminate
is returned, when the order of the given values is
not defined on only partially ordered datatypes.