Skip to content

isWithinDirectoryNameSubtree ​

isWithinDirectoryNameSubtree ​

True when subject equals or is subordinate to constraint (RDN prefix match).

ts
function isWithinDirectoryNameSubtree(
	subject: ParsedName,
	constraint: ParsedName,
): boolean

Parameters

Released under the MIT License.