SassNode::isChildOf
Returns a value indicating if this node is a child of the passed node.
This just checks the levels of the nodes. If this node is at a greater level than the passed node if is a child of it.
Signature
public function isChildOf(
$node )
Parameters
$node
—
Returns
- boolean
- true if the node is a child of the passed node, false if not