Skip to main content
Deno 2 is finally here 🎉️
Learn more
method FenceService.prototype.getCountOfItemsToReplace
import { FenceService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

Get an integer rounded count of items to replace based on percentrage from traderConfig value

Parameters

totalItemCount: number

total item count

Returns

number

rounded int of items to replace