UNPKG

tf2-item-format

Version:
17 lines 526 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = default_1; function default_1(name) { return name.includes('Strange ') && !isStrangeException(name); } const STRANGE_EXCEPTIONS = [ 'Strange Bacon Grease', 'Strange Filter: ', 'Strange Count Transfer Tool', 'Strange Part: ', 'Strange Cosmetic Part: ', ]; function isStrangeException(name) { return STRANGE_EXCEPTIONS.some((exception) => name.includes(exception)); } //# sourceMappingURL=isStrange.js.map