isEqual(to:)
Compares the parameter node to the receiving node.
Declaration
func isEqual(to node: SKNode) -> BoolParameters
- node:
The node to compare to the receiving node.
Return Value
true if the node is a descendant of the parent node; otherwise false.