Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NamedNode<Iri>

An implementation of RDF/JS' NamedNode.

Type parameters

  • Iri: string = string

Hierarchy

Implements

  • NamedNode

Index

Constructors

Properties

Methods

Constructors

  • new NamedNode<Iri>(value: Iri): NamedNode<Iri>
  • Creates a new instance.

    Type parameters

    • Iri: string = string

    Parameters

    • value: Iri

      The value of the node.

    Returns NamedNode<Iri>

Properties

termType: "NamedNode" = "NamedNode"
value: Iri

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