Returns whether the given node contains or is a capturing group.
This function is guaranteed to behave in the same way as:
hasSomeDescendant(node, d => d.type === "CapturingGroup") Copy
hasSomeDescendant(node, d => d.type === "CapturingGroup")
Returns whether the given node contains or is a capturing group.
This function is guaranteed to behave in the same way as: