Function: looseBooleanParser()
looseBooleanParser(
input):boolean
Parses input strings as booleans (loosely). Transforms to lowercase and then checks against the following values:
true:"true","t","yes","y","on","1",""false:"false","f","no","n","off","0"
Parsers are only executed when an input is provided,
so the empty string is treated as a truthy value (i.e. a flag that is present but has no value is treated as true).
Parameters
• input: string
Returns
boolean