bpms_site/.svn/pristine/9d/9d702e0e38ccbd62e33892a05f3b63a8e4cb66b5.svn-base
2025-11-02 16:38:49 +03:30

9 lines
364 B
Plaintext

/**
* Checks if a given path starts with a given prefix. It ensures it matches
* exactly without containing extra chars. e.g. prefix /docs should replace
* for /docs, /docs/, /docs/a but not /docsss
* @param path The path to check.
* @param prefix The prefix to check against.
*/
export declare function pathHasPrefix(path: string, prefix: string): boolean;