[F] getFirstAncestor
Parameters
Parameter | Type | Default value |
---|---|---|
node | Node | undefined |
test | NodeCallback <boolean > | undefined |
includeSelf | boolean | false |
Returns
Node
| undefined
Parameter | Type | Default value |
---|---|---|
node | Node | undefined |
test | NodeCallback <boolean > | undefined |
includeSelf | boolean | false |
Node
| undefined