tryError Documentation
Function: isTrySuccess()
Function
```ts function isTrySuccess<T, E>(result): result is T; ``` Defined in: [types.ts:120](https://github.com/oconnorjohnson/try-error/blob/e3ae0308069a4fba073f4543d527ad76373db795/src/types.ts#L120) Type predicate to narrow a TryResult to its success type IMPROVED: More reliable than negating isTryError
tryError API Documentation v0.0.1-alpha.1
tryError API Documentation / isTrySuccess
Function: isTrySuccess()
function isTrySuccess<T, E>(result): result is T;
Defined in: types.ts:120
Type predicate to narrow a TryResult to its success type
IMPROVED: More reliable than negating isTryError
Type Parameters
T
T
E
E
extends TryError
<string
>
Parameters
result
TryResult
<T
, E
>
Returns
result is T