tf2-item-format
Version:
Format's TF2 items like backpack.tf does
13 lines • 352 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.hasDefindex = hasDefindex;
/**
* Checks if value is defindex,
* can be used for textures or item defindexes or quality.
* @param defindex
* @returns
*/
function hasDefindex(defindex) {
return !!defindex || defindex === 0;
}
//# sourceMappingURL=guards.js.map