Deck

Properties & methods

Deck.create( )
Create a new Deck object
Deck#clone( )
Clone the deck (but not the values)
Deck#createIterator( )
Create an iterator
Deck#createIteratorItems( )
Create an iterator for the internal items
Deck#every( )
Iterate over the items in the dictionary, break loop on a returned false
Deck#forEach( )
Iterate over the sorted items
Deck#get( )
Get the value of the wanted key
Deck#getById( )
Get the value by id (aka insert order)
Deck#getSorted( )
Get the sorted values in an array
Deck#getSortedItems( )
Get the sorted internal items
Deck#has( )
See if the deck has a certain key
Deck#push( )
Add a value to the object, without a key
Deck#set( )
Set a key-value pair with an optional weight
Deck#some( )
Iterate over the items in the dictionary, break loop on a returned true