testing._leaf_selected

(internal) Replicates TestFilter::includes: exclude wins; with includes present only included leaves are selected; with no includes everything not excluded is.

Reference version

Signature

function testing._leaf_selected(name: string, include: string[], exclude: string[]) -> bool

(internal) Replicates TestFilter::includes: exclude wins; with includes present only included leaves are selected; with no includes everything not excluded is.

Source:<builtin>/testing/registry.bamlbytes 2781328085