The function does not apply a consistent rule to all inputs. Specifically, it returns undefined for inputs that are not in its domain.

Please let me know if this description is correct or if there are any other inputs you would like me to test.