toBooleanCoerce a loose value to a boolean, or null when unrecognizedutils-tobooleanlogUtilsindex.jsCoercionRecognizes generous true/false spellings and numeric strings. Unrecognized input is null so it composes with ??, and loose falls back to native truthiness["utils","coercion","toboolean","boolean","parse"]Example
Categories