import { isSubPath } from "https://deno.land/x/enzastdlib@v0.0.4/path/issubpath.ts";
Returns if the child path is nested within the parent path.
Examples
Example 1
Example 1
import { assertEquals } from 'https://deno.land/std/testing/asserts.ts';
import { isSubPath } from 'https://deno.land/x/enzastdlib/path/mod.ts';
assertEquals(
isSubPath('/home/novacbn', '/home/novacbn/Pictures'),
true
);