Returns the first non-falsy value from the parameter list.
Works quite similar to the SQL's "COALESCE()" function, but unlike this checks for the first non-false parameter.
Parameters
...params: any[]
Any number of parameters.
Returns any
Returns the first non-false element of the parameter.
Returns the first non-falsy value from the parameter list. Works quite similar to the SQL's "COALESCE()" function, but unlike this checks for the first non-false parameter.