Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
-
Updated
Jul 29, 2023 - JavaScript
Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
Determines whether a string begins with the characters of a specified string.
Add a description, image, and links to the startswith topic page so that developers can more easily learn about it.
To associate your repository with the startswith topic, visit your repo's landing page and select "manage topics."