UNPKG

tf2-item-format

Version:
13 lines 431 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = default_1; function default_1(item, tags) { return isStrangeType(item) && !isStrangeQuality(tags); } function isStrangeType({ type }) { return /( - Kills: |- Points Scored: |- Carnival Kills: )\d+/.test(type); } function isStrangeQuality({ quality }) { return quality === 'Strange'; } //# sourceMappingURL=getElevated.js.map