Please rename to something more descriptive, like filterUndefined or something else.