RDF.IRI.valid-question-mark

You're seeing just the function valid-question-mark, go back to RDF.IRI module for more information.

Specs

valid?(coercible()) :: boolean()

Checks if the given IRI is valid.

Note: This currently checks only if the given IRI is absolute.

Examples

iex> RDF.IRI.valid?("http://www.example.com/foo")
true
iex> RDF.IRI.valid?("not an iri")
false