getState - PronabM/State.js GitHub Wiki
getState
Since State.create does not return the JavaScript object back as it deserialise the JavaScript object to native data-structure, getState function comes to the rescue to get the JavaScript object back. The function returns the plain old JavaScript object.
myState.getState();
The Method returns the core
of the observable object.
{
range: {
start: 1,
end: 5
},
visible: true
}