RDF.Term.value
You're seeing just the function
value
, go back to RDF.Term module for more information.
Returns the native Elixir value of a RDF term.
Returns nil
if the given value is not a a valid RDF term or a value convertible to a RDF term.
Examples
iex> RDF.Term.value(~I<http://example.com/>)
"http://example.com/"
iex> RDF.Term.value(~L"foo")
"foo"
iex> RDF.XSD.integer(42) |> RDF.Term.value()
42