RDF.XSD.Boolean.logical_and
You're seeing just the function
logical_and
, go back to RDF.XSD.Boolean module for more information.
Specs
logical_and(input_value(), input_value()) :: t() | nil
Returns the logical AND
of the effective boolean value of the given arguments.
It returns nil
if only one argument is nil
and the other argument is
RDF.XSD.true
and RDF.XSD.false
if the other argument is RDF.XSD.false
.
Examples
iex> RDF.XSD.Boolean.logical_and(RDF.XSD.true, RDF.XSD.true)
RDF.XSD.true
iex> RDF.XSD.Boolean.logical_and(RDF.XSD.true, RDF.XSD.false)
RDF.XSD.false
iex> RDF.XSD.Boolean.logical_and(RDF.XSD.true, nil)
nil
iex> RDF.XSD.Boolean.logical_and(nil, RDF.XSD.false)
RDF.XSD.false
iex> RDF.XSD.Boolean.logical_and(nil, nil)
nil