RDF.Literal.Datatype.datatype-question-mark
You're seeing just the callback
datatype-question-mark
, go back to RDF.Literal.Datatype module for more information.
Specs
datatype?(RDF.Literal.t() | t() | literal()) :: boolean()
Checks if the given RDF.Literal
has the datatype for which the RDF.Literal.Datatype
is implemented or is derived from it.
Example
iex> RDF.XSD.byte(42) |> RDF.XSD.Integer.datatype?()
true