ContainsChildOrSelf(NormalizedPath) Method
Checks if this path is the specified path or if this path contains the specified path as a direct child.
Namespace
Statiq.Common
Containing Type
NormalizedPath

Syntax

public bool ContainsChildOrSelf(in NormalizedPath path)

Parameters

Name Type Description
path NormalizedPath The path to check.

Return Value

Type Description
bool true if the path is this path or contains this path as a child, false otherwise.