Add isSuccess and isError to JsResult
Merge pull request #2216 from gmethvin/is_success

Add isSuccess and isError to JsResult