UNPKG

@oazmi/build-tools

Version:

general deno build tool scripts which I practically use in all of my typescript repos

17 lines 490 B
/** * 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