anorgatarrak-wordpress-theme/node_modules/underscore.string/include.js

7 lines
185 B
JavaScript
Raw Normal View History

var makeString = require('./helper/makeString');
module.exports = function include(str, needle) {
if (needle === '') return true;
return makeString(str).indexOf(needle) !== -1;
};