Converts a string to a boolean, treating '0', 'false', 'FALSE', 'off' and falsy values like '' to false, the rest to true.
-
Notifications
You must be signed in to change notification settings - Fork 0
reflexions/string-to-boolean
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Converts a string (e.g. from an env var) into a JS Boolean
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published