Class: Inventory
Constructors
new Inventory()
new Inventory(
inventory
:InventoryValue
[]):Inventory
Parameters
Parameter | Type |
---|---|
inventory | InventoryValue [] |
Returns
Defined in
Properties
maskedInventory
maskedInventory:
InventoryValue
[] =[]
Defined in
Methods
censor()
censor(
str
:string
):string
Parameters
Parameter | Type |
---|---|
str | string |
Returns
string
Defined in
replaceMask()
replaceMask(
value
:string
):string
Parameters
Parameter | Type |
---|---|
value | string |
Returns
string
Defined in
toString()
toString():
string
Returns
string