View Source RDF.Guards (RDF.ex v0.12.0)

A collection of guards.

Link to this section Summary

Functions

Returns if the given value is a quad, i.e. a tuple with four elements.

Returns if the given value is a triple or a quad in terms of is_triple/1 and is_quad/1.

Returns if the given value is a triple, i.e. a tuple with three elements.

Returns if the given value is an atom which could potentially be an RDF.Vocabulary.Namespace term.

Link to this section Functions

Returns if the given value is a quad, i.e. a tuple with four elements.

Link to this macro

is_statement(s)

View Source (macro)

Returns if the given value is a triple or a quad in terms of is_triple/1 and is_quad/1.

Returns if the given value is a triple, i.e. a tuple with three elements.

Link to this macro

maybe_ns_term(term)

View Source (macro)

Returns if the given value is an atom which could potentially be an RDF.Vocabulary.Namespace term.