Check if filepath exists and is a file
-
Updated
Apr 28, 2022 - JavaScript
Check if filepath exists and is a file
Uses a breadth-first search, when necessary, to resolve the file path using the correct casing, and verify that the file actually exists. Returns consistent results regardless of case sensitivity of the file path and/or operating system.
Add a description, image, and links to the file-exists topic page so that developers can more easily learn about it.
To associate your repository with the file-exists topic, visit your repo's landing page and select "manage topics."