Creates a new instance.
The value of the literal.
Sets the datatype if either an
RDFJS.NamedNode or a string containing a datatype URI is
supplied. Sets the language if a valid language tag is supplied as a
string. If not specified, the default data type is
Literal.stringDatatype.
Checks the equality of two terms.
The term to compare against.
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
An implementation of RDF/JS'
Literal.