export function includes(str, needle) {
return str.indexOf(needle) !== -1;
}
// UNDERSCORE
// Embed part of the Underscore Library
export var trim = function (str) {
return str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
};
export var stripLeadingDollar = function (s) {
return s.replace(/^\$/, '');
};
export function isDistinctIdStringLike(value) {
return ['distinct_id', 'distinctid'].includes(value.toLowerCase());
}
//# sourceMappingURL=string-utils.js.map