true if the response has a result that is neither null nor undefined, false otherwise
Example
constresponse = awaitsomeBridgeMethod(); if (isOk(response) && hasResult(response)) { // response narrowed to status code `200` variant, and `result` is available console.log('Result:', response.result); }
Type guard to check if an SDK response has a
resultthat is neithernullnorundefined.