Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/deps.ts>isPathPrefixed

Exploring Willow in the most efficient and sound programming language
Go to Latest
function isPathPrefixed
Re-export
import { isPathPrefixed } from "https://deno.land/x/willow@0.2.1/deps.ts";

Returns whether a path is prefixed by another path.

Parameters

prefix: Path
path: Path

Returns

boolean