diff --git a/docs/typed/isResultOk.mdx b/docs/typed/isResultOk.mdx index 5485e3fb..5c06c38d 100644 --- a/docs/typed/isResultOk.mdx +++ b/docs/typed/isResultOk.mdx @@ -8,9 +8,11 @@ description: Returns true for successful Result tuple Check if a value is both a `Result` tuple and an `Ok` result. ```ts +import * as _ from 'radashi' + declare const value: unknown -if (isResultOk(value)) { +if (_.isResultOk(value)) { value // <-- now an Ok type value[1] // <-- This is the resulting value! }