Constructor
new BlockSet(reporter, settings)
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
reporter |
Reporter | |||||||||||||||||||||||||
settings |
Object |
Properties
|
- Source:
Members
allBlocks :Array.<Block>
All blocks that are in this set. (Available after building)
Type:
- Array.<Block>
- Source:
Methods
(async, protected) _build()
- Source:
has(block) → {boolean}
Check whether a block is in the set
Parameters:
| Name | Type | Description |
|---|---|---|
block |
Block |
- Source:
Returns:
- Type
- boolean
size() → {number}
Number of blocks in set
- Source:
Returns:
- Type
- number