Skip to content

pathOf

function pathOf(
entries: readonly {
[key: string]: unknown
config?: unknown
disabled?: boolean
group?: boolean
id: string
inject?: readonly string[]
intercept?: {
[key: string]: unknown
}
isolate?: {
[key: string]: string | true
}
name: string
}[],
id: string,
prefix?: Path,
): Option<Path>

Defined in: Tree.ts:76

Where an entry sits in the tree.

Parameter Type Default value
entries readonly { [key: string]: unknown; config?: unknown; disabled?: boolean; group?: boolean; id: string; inject?: readonly string[]; intercept?: { [key: string]: unknown; }; isolate?: { [key: string]: string | true; }; name: string; }[] undefined
id string undefined
prefix? Path []

Option<Path>