@evilmonkeyinc/srd-api
Version:
Tools and helpers to query SRD content
34 lines (19 loc) • 717 B
Markdown
You can access the ConditionAPI functions using the default client `srdClient.conditions` or by creating a new instance of the ConditionAPI `const conditionAPI = new ConditionAPI();`
The following functions are available in the ConditionAPI
Gets the named condition.
Gets all the available conditions in the collection.
The name of the condition.
The condition description text.
This field is an array of description blocks, or paragraphs which include
- a string
- an object detailing a list
- an object detailing a table
An array of other condition names that this condition is associated with.