没有合适的资源?快使用搜索试试~ 我知道了~
monads::ghost:键入安全选项,结果和任何一种类型; 受Rust启发
共36个文件
md:16个
ts:11个
json:3个
需积分: 5 0 下载量 47 浏览量
2021-02-05
18:34:13
上传
评论
收藏 89KB ZIP 举报
温馨提示
:ghost: 单音 输入安全的选项,结果和任何一种类型; 受Rust启发。 目录 :hourglass_not_done: 安装 天野 import { Some } from "https://deno.land/x/monads/mod.ts" const air = Some ( "air" ) . unwrapOr ( "baloon" ) console . log ( air ) // "air" Node.js和浏览器 npm install @hqoss/monads :warning: 注意:该项目配置为以ES2018为目标,并且该库使用commonjs模块解析。 在“部分中了解更多信息。 :memo: 用法 Option<T> i
资源推荐
资源详情
资源评论
收起资源包目录
monads-master.zip (36个子文件)
monads-master
mod.ts 242B
docs
globals.md 6KB
interfaces
resright.md 6KB
reserr.md 4KB
optsome.md 3KB
resleft.md 6KB
resok.md 4KB
match.md 1KB
result.md 3KB
option.md 3KB
optnone.md 3KB
either.md 5KB
package.json 1KB
.github
workflows
ci.yaml 760B
publish.yaml 624B
test
option
option.test.ts 14KB
result
result.test.ts 13KB
either
either.test.ts 15KB
.prettierrc 70B
jest.config.js 371B
package-lock.json 230KB
.npmignore 31B
tsconfig.json 5KB
LICENSE.md 1KB
.gitignore 593B
lib
option
option.deno.ts 3KB
README.md 6KB
option.ts 3KB
result
result.ts 4KB
result.deno.ts 4KB
README.md 6KB
either
either.ts 4KB
either.deno.ts 4KB
README.md 727B
index.ts 206B
README.md 6KB
共 36 条
- 1
资源评论
thonxie
- 粉丝: 23
- 资源: 4532
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功