2020-05-06 16:04:19 +00:00
|
|
|
defmodule RDF.Guards do
|
2020-05-15 15:13:31 +00:00
|
|
|
import RDF.Utils.Guards
|
|
|
|
|
|
|
|
defguard maybe_ns_term(term) when maybe_module(term)
|
2021-12-03 22:15:03 +00:00
|
|
|
|
|
|
|
defguard is_triple(t) when is_tuple(t) and tuple_size(t) == 3
|
2020-05-06 16:04:19 +00:00
|
|
|
end
|