Kind: global class
- Draconarius
- instance
- .isEnabled(flag, ...args) ⇒
boolean - .updateFlag(flag, value)
- .getAllFlags() ⇒
object
- .isEnabled(flag, ...args) ⇒
- static
- .Draconarius
- .version() ⇒
string
- instance
isEnabled - To check if a flag is raised(enabled)
Kind: instance method of Draconarius
Returns: boolean - A boolean indicating if flag is enabled
| Param | Type | Description |
|---|---|---|
| flag | string | array |
The flag or flags you want to check |
| ...args | array |
optional arguments to pass to a flag function |
updateFlag - Update flag(s)
Kind: instance method of Draconarius
| Param | Type | Description |
|---|---|---|
| flag | string | array |
The flag or flags you want to check |
| value | function | boolean |
getAllFlags - Get all the flags currently set
Kind: instance method of Draconarius
Returns: object - All flags
Kind: static class of Draconarius
Creates an instance of Draconarius.
| Param | Type |
|---|---|
| flags | object | array |
version - Checks the version in package.json
Kind: static method of Draconarius
Returns: string - Current version of Draconarius