Options
All
  • Public
  • Public/Protected
  • All
Menu

Abstract superclass for all term types defined in this module. It should not be subclassed outside of this module.

This class defines a generic equals function according to the RDFJS specification.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

Properties

termType: string

Methods

  • equals(other: null | Term): boolean
  • Checks the equality of two terms.

    Parameters

    • other: null | Term

      The term to compare against.

    Returns boolean

    false if the term is null, undefined, or of a different type. Also false if one or more properties are not equal, otherwise true.

Generated using TypeDoc