Members
board :Object.<string, *>
- Source:
Type:
- Object.<string, *>
Methods
clear() → {Board}
- Source:
Clear all data on board
Returns:
return itself
- Type
- Board
get(key) → {*}
- Source:
find data by key
Parameters:
| Name | Type | Description |
|---|---|---|
key |
string | key to find data |
Returns:
found data
- Type
- *
isEmpty() → {boolean}
- Source:
Check board is empty or not
Returns:
- Type
- boolean
set(key, value) → {Board}
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
key |
string | |
value |
* |
Returns:
return itself
- Type
- Board
toJSON() → {object}
- Source:
Returns:
- Type
- object
unset(key) → {Board}
- Source:
Delete specific data by key
Parameters:
| Name | Type | Description |
|---|---|---|
key |
string |
Returns:
return itself
- Type
- Board