Security update to Drupal 8.4.6
[yaffs-website] / node_modules / underscore.string / swapCase.js
1 var makeString = require('./helper/makeString');
2
3 module.exports = function swapCase(str) {
4   return makeString(str).replace(/\S/g, function(c) {
5     return c === c.toUpperCase() ? c.toLowerCase() : c.toUpperCase();
6   });
7 };