UNPKG

@fgv/ts-web-extras

Version:

Browser-compatible utilities and FileTree implementations

53 lines (25 loc) 662 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@fgv/ts-web-extras](./ts-web-extras.md) &gt; [isFilePath](./ts-web-extras.isfilepath.md) ## isFilePath() function Determines if a path appears to be a file (has extension) or directory **Signature:** ```typescript export declare function isFilePath(path: string): boolean; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> path </td><td> string </td><td> </td></tr> </tbody></table> **Returns:** boolean