Asserts that the operation completed successfully and that the resource is defined.
export declare function assertOk<T>(outcome: OperationOutcome, resource: T | undefined): asserts resource is T;
|outcome||OperationOutcome||The operation outcome.|
|resource||T | undefined||The resource that may or may not have been returned.|
asserts resource is T