How can I check if a variable\'s type is of type Boolean?
I mean, there are some alternatives such as:
if(jQuery.type(new Boolean()) === jQuery.type(
if(['true', 'yes', '1'].includes(single_value)) { return true; } else if(['false', 'no', '0'].includes(single_value)) { return false; }
if you have a string