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

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

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

Returns whether a Path does not exceed the limits given by a PathScheme.

Parameters

path: Path
unnamed 1: PathScheme

Returns

boolean