Contents

isEqual(to:)

Compares the parameter node to the receiving node.

Declaration

func isEqual(to node: SKNode) -> Bool

Parameters

  • node:

    The node to compare to the receiving node.

Return Value

true if the node is a descendant of the parent node; otherwise false.

See Also

Modifying the Node Tree