monads::ghost:键入安全选项,结果和任何一种类型; 受Rust启发

时间:2021-02-05 18:34:13
【文件属性】:
文件名称:monads::ghost:键入安全选项,结果和任何一种类型; 受Rust启发
文件大小:89KB
文件格式:ZIP
更新时间:2021-02-05 18:34:13
nodejs javascript rust monads typescript :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 i
【文件预览】:
monads-master
----mod.ts(242B)
----docs()
--------globals.md(6KB)
--------interfaces()
----package.json(1KB)
----.github()
--------workflows()
----test()
--------option()
--------result()
--------either()
----.prettierrc(70B)
----jest.config.js(371B)
----package-lock.json(230KB)
----.npmignore(31B)
----tsconfig.json(5KB)
----LICENSE.md(1KB)
----.gitignore(593B)
----lib()
--------option()
--------result()
--------either()
--------index.ts(206B)
----README.md(6KB)

网友评论