Methods
(static) fromString(s) → {Context}
Gets the correct context from a string.
Parameters:
Name | Type | Description |
---|---|---|
s |
string | Context string serialisation. |
- Source:
Throws:
-
If s is not a context.
- Type
- TypeError
Returns:
Context.
- Type
- Context