UNPKG

@kumarshanu/string-to-boolean

Version:

it converts a given string value to a boolean value. It handles various cases such as 'true', 'false', 'yes', 'no', '1', '0', null, and undefined. It uses a switch statement with case-insensitive comparisons to determine the boolean value. If none of the

2 folders, 5 files
920 B
657 B
1.28 kB
115 B
50 B
1.12 kB
227 B