rdf-ex/lib/rdf/guards.ex
2021-12-03 23:15:03 +01:00

7 lines
175 B
Elixir

defmodule RDF.Guards do
import RDF.Utils.Guards
defguard maybe_ns_term(term) when maybe_module(term)
defguard is_triple(t) when is_tuple(t) and tuple_size(t) == 3
end