testing._leaf_selected_layered
(internal) Apply a profile and an explicit CLI layer independently. This is deliberately not equivalent to concatenating their include arrays: profile AND CLI is the contract, while includes within either layer remain OR.
Reference version
Signature
function testing._leaf_selected_layered(
name: string,
profile_include: string[],
profile_exclude: string[],
cli_include: string[],
cli_exclude: string[]
) -> bool
(internal) Apply a profile and an explicit CLI layer independently. This is deliberately not equivalent to concatenating their include arrays: profile AND CLI is the contract, while includes within either layer remain OR.
Source:<builtin>/testing/registry.bamlbytes 28321–28628