🔨ok

ok is used to create a Result type.

Usage

import {ok} from 'unwrapit'

const v = ok(1)
//    ^? Result<number, never>

Last updated