first-none-falsy-value-or-last

a function which returns the first none falsy value or the last value, if alle values are falsy

Browse on unpkg