neo4j :: NeoNodeCollection :: has_id
Note: The default implementation uses get_or_null.
get_or_null
# There is a node that has the specified local id? # # Note: The default implementation uses `get_or_null`. fun has_id(id: ID_TYPE): Bool do return get_or_null(id) isa NeoNode
redef fun has_id(id) do return id >= 0 and id < nodes.length and nodes[id] isa NeoNode end