isChildPath()
Home > @backstage/cli-common
> isChildPath
Checks if path is the same as or a child path of base.
Signature:
function isChildPath(base: string, path: string): boolean;
Parameters
Parameter |
Type |
Description |
---|---|---|
base |
string | |
path |
string |
boolean