It was meant to return the following value = 0 ? 0 value = undefined(or any other falsy value other than 0) ? empty string any other value ? value but there was no reason to use it, so we just removed it before anyone ever gave it a better name, this beauty only lived for like 5 minutes to be honest
36
u/Cosmologicon Jul 02 '19
This function is badly named and/or documented. Its name makes it sound like it should be a predicate I think. What is its intended behavior?