Skip to main content
The Deno 2 Release Candidate is here
Learn more
method ItemHelper.prototype.hasBuyRestrictions
Re-export
import { ItemHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";

Check if the passed in item has buy count restrictions

Parameters

itemToCheck: Item

Item to check

Returns

boolean

true if it has buy restrictions