RDF.Term.coerce
You're seeing just the function
coerce
, go back to RDF.Term module for more information.
Converts a given value into a RDF term.
Returns nil
if the given value is not convertible into any valid RDF.Term.
Examples
iex> RDF.Term.coerce("foo")
~L"foo"
iex> RDF.Term.coerce(42)
RDF.XSD.integer(42)