The number to add
This only works for items with a number
Divide this Item
by the given number.
The number to divide by
Get a property/item from this Item
.
The property to get
The options for getting this item, specifically the default value if this item has no value.
This only works for items with their value as an array
Remove all items that match the condition from this Item<U[]>
The condition to find the item with.
This only works for items with their value as an array
Find the item that matches the condition from this Item<U[]>
The condition to find the item with.
Get the current value of this Item
.
Get the value of the given field of this Item
.
The field to get
This only works for items with their value as an array
Check if this Item<U[]>
has an item that matches the condition
The condition to find the item with.
Get a property/item from this Item
.
The property to get
The options for getting this item, specifically the default value if this item has no value.
List all of the items in this Item
.
If the value is an an array, returns the value, otherwise, it returns the keys of the value.
This only works for items with a number
Multiply this Item
by the given number.
The number to multiply by
This only works for items with properties like objects or arrays
Pop the given index or property from this Item
.
The item to pop
This only works for items with a number
Raise this Item
to the power of the given number
The number to raise to the power of
This only works for items with their value as an array
Add the given item to this Item<U[]>
The item to push
This only works for items with their value as an array
Remove the given item from this Item<U[]>
The item to remove
Set this Item
to the given value.
The value to set this item to.
If there is no value for this Item
already, and the val
isn't null
or undefined
or anything either, set the value to the val
.
Set a field of this Item
to a value.
The field to be set
The value for the field to be set as
This only works for items with a number
Subtract this Item
by the given number.
The number to subtract
Generated using TypeDoc
This only works for items with a number Increase this
Item
by the given number.