rdf-ex/lib/rdf/guards.ex

5 lines
119 B
Elixir
Raw Normal View History

2020-05-06 16:04:19 +00:00
defmodule RDF.Guards do
defguard maybe_ns_term(term)
when is_atom(term) and term not in [nil, true, false]
end