ResultSet #
- new ResultSet(entries)
- instance
- .valueOf() ⇒
Array - .toString() ⇒
string - .toJSON() ⇒
Object
- .valueOf() ⇒
- static
- .fromJSON(json) ⇒
[ResultSet](#ResultSet)
- .fromJSON(json) ⇒
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](#ResultSet)
Returns: Array - entries
resultSet.toString() ⇒ string #
Returns the stringified results of the ResultSet
Kind: instance method of [ResultSet](#ResultSet)
Returns: string - string
resultSet.toJSON() ⇒ Object #
Get a JSON representation of the ResultSet
Kind: instance method of [ResultSet](#ResultSet)
Returns: Object - Returns a JSON object structured as:
{"mathjs": "ResultSet", "entries": [...]}
ResultSet.fromJSON(json) ⇒ [ResultSet](#ResultSet) #
Instantiate a ResultSet from a JSON object
Kind: static method of [ResultSet](#ResultSet)
| Param | Type | Description |
|---|---|---|
| json | Object |
A JSON object structured as: {"mathjs": "ResultSet", "entries": [...]} |