Returns true if value is truthy, useful with Array.prototype.filter and TypeScript ([].filter(Boolean) won't filter out falsy values from the types)
Array.prototype.filter
[].filter(Boolean)
test value
Returns true if value is truthy, useful with
Array.prototype.filter
and TypeScript ([].filter(Boolean)
won't filter out falsy values from the types)