keep-a-changelog
Version:
Node package to parse and generate changelogs following the [keepachangelog](https://keepachangelog.com/) format.
17 lines • 490 B
TypeScript
/**
* Verifies whether provided path is absolute.
*
* @example Usage
* ```ts
* import { isAbsolute } from "@std/path/posix/is-absolute";
* import { assert, assertFalse } from "@std/assert";
*
* assert(isAbsolute("/home/user/Documents/"));
* assertFalse(isAbsolute("home/user/Documents/"));
* ```
*
* @param path The path to verify.
* @returns Whether the path is absolute.
*/
export declare function isAbsolute(path: string): boolean;
//# sourceMappingURL=is_absolute.d.ts.map