By adding a dependency to do a one line task?
I mean, you could also have it as a helper function in your project but that decreases the re-usability to copy-pasting across projects.
In the end, effective or not, I can see it as an attempt on reducing bloat. I see that many don't agree, but I'm afraid they don't take into account the constraints imposed by sending code to the clients rather than a binary.