Loom Engine - v3.1.1
    Preparing search index...

    Interface BuyResult

    interface BuyResult {
        ok: boolean;
        reason?: "unknown_item" | "out_of_stock" | "invalid_qty";
        unitsSold: number;
        totalCost: number;
    }
    Index

    Properties

    ok: boolean
    reason?: "unknown_item" | "out_of_stock" | "invalid_qty"
    unitsSold: number
    totalCost: number