RDF.Term.term-question-mark
You're seeing just the function
term-question-mark
, go back to RDF.Term module for more information.
Checks if the given value is a RDF term.
Note: As opposed to RDF.term?
this function returns false
on atoms and does
not try to resolve them to IRIs.
Examples
iex> RDF.Term.term?(RDF.iri("http://example.com/resource"))
true
iex> RDF.Term.term?(EX.Resource)
false
iex> RDF.Term.term?(RDF.bnode)
true
iex> RDF.Term.term?(RDF.XSD.integer(42))
true
iex> RDF.Term.term?(42)
false