1.7 KiB
1.7 KiB
ResultSet
- new ResultSet(entries)
- instance
- .valueOf() ⇒
Array
- .toString() ⇒
string
- .toJSON() ⇒
Object
- .valueOf() ⇒
- static
new ResultSet(entries)
A ResultSet contains a list or results
Param | Type |
---|---|
entries | Array |
resultSet.valueOf() ⇒ Array
Returns the array with results hold by this ResultSet
Kind: instance method of ResultSet
Returns: Array
- entries
resultSet.toString() ⇒ string
Returns the stringified results of the ResultSet
Kind: instance method of ResultSet
Returns: string
- string
resultSet.toJSON() ⇒ Object
Get a JSON representation of the ResultSet
Kind: instance method of ResultSet
Returns: Object
- Returns a JSON object structured as:
{"mathjs": "ResultSet", "entries": [...]}
ResultSet.fromJSON(json) ⇒ ResultSet
Instantiate a ResultSet from a JSON object
Kind: static method of ResultSet
Param | Type | Description |
---|---|---|
json | Object |
A JSON object structured as: {"mathjs": "ResultSet", "entries": [...]} |