We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a54a80 commit 5130977Copy full SHA for 5130977
src/basic.ts
@@ -321,6 +321,8 @@ type DescendantsImpl<T extends Node> =
321
* @param conditionFn
322
* @param descentConditionFn An optional function to decide whether the descendant of the given node will be checked as
323
* well.
324
+ *
325
+ * This function will be called with some node only after `conditionFn` has returned `false` for this node.
326
*/
327
export function hasSomeDescendant<T extends Node>(
328
node: T & Node,
0 commit comments