UNPKG

@types/path-is-absolute

Version:
26 lines (20 loc) 855 B
# Installation > `npm install --save @types/path-is-absolute` # Summary This package contains type definitions for path-is-absolute (https://github.com/sindresorhus/path-is-absolute#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/path-is-absolute. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/path-is-absolute/index.d.ts) ````ts export = path_is_absolute; declare function path_is_absolute(path: string): boolean; declare namespace path_is_absolute { function win32(path: string): boolean; function posix(path: string): boolean; } ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 09:09:39 GMT * Dependencies: none # Credits These definitions were written by [Mohamed Hegazy](https://github.com/mhegazy).