RDF.List.node-question-mark
You're seeing just the function
node-question-mark
, go back to RDF.List module for more information.
Checks if the given RDF.Description
describes a RDF list node.
Specs
node?(any(), RDF.Graph.t()) :: boolean()
Checks if a given resource is a RDF list node in a given RDF.Graph
.
Although, technically a resource is a list, if it uses at least one rdf:first
or rdf:rest
, we pragmatically require the usage of both.
Note: This function doesn't indicate if the list is valid.
See new/2
and valid?/2
for validations.