Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@onekuma/option

yjl9903103MIT0.1.10TypeScript support: included

OneKuma Option

onekuma, collection, option

readme

@onekuma/option

version

OneKuma option library.

pnpm i @onekuma/option

Usage

import { Option } from '@onekuma/option'

const value = Option.some(1)
const empty = Option.none()

License

MIT License © 2023 XLor