UNPKG

@bemedev/core

Version:

The core library of @bemedev

15 lines (13 loc) 345 B
const fn = (value, ...segments) => { if (typeof value !== 'string') return false; // Check if the string contains any of the segments for (const seg of segments) { if (value.includes(seg)) { return true; } } return false; }; export { fn as default }; //# sourceMappingURL=includes.js.map