Class: Inventory

Constructors

new Inventory()

new Inventory(inventory: InventoryValue[]): Inventory

Parameters

ParameterType
inventoryInventoryValue[]

Returns

Inventory

Defined in

src/inventory/inventory.ts:11

Properties

maskedInventory

maskedInventory: InventoryValue[] = []

Defined in

src/inventory/inventory.ts:9

Methods

censor()

censor(str: string): string

Parameters

ParameterType
strstring

Returns

string

Defined in

src/inventory/inventory.ts:43


replaceMask()

replaceMask(value: string): string

Parameters

ParameterType
valuestring

Returns

string

Defined in

src/inventory/inventory.ts:30


toString()

toString(): string

Returns

string

Defined in

src/inventory/inventory.ts:22