3 ms·
That whole function could be rewritten to just the following one-liner, no? return !!(getEmployee(id) || getManager(id) || getAdmin(id));
by falcor84 7y ago
That whole function could be rewritten to just the following one-liner, no?
return !!(getEmployee(id) || getManager(id) || getAdmin(id));