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

x/willow_utils/src/paths/paths.ts>isPathPrefixed

TypeScript typings and utilities for the Willow protocol.
Go to Latest
function isPathPrefixed
import { isPathPrefixed } from "https://deno.land/x/willow_utils@0.8.0/src/paths/paths.ts";

Returns whether a path is prefixed by another path.

Parameters

prefix: Path
path: Path

Returns

boolean