It's been there a while now.  @masterbee had it as part of his CS version of helpers.js:

https://github.com/wet-boew/wet-boew/commit/4ee2bb7d3009293744d51cfb2da562f5715ef426