There is a node that has the specified local id?

Note: The default implementation uses get_or_null.

Property definitions

neo4j $ NeoNodeCollection :: has_id
	# 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
lib/neo4j/graph/graph.nit:74,2--77,68

neo4j $ SequentialNodeCollection :: has_id
	redef fun has_id(id) do
		return id >= 0 and id < nodes.length and nodes[id] isa NeoNode
	end
lib/neo4j/graph/sequential_id.nit:66,2--68,4