opt.Optional[T]

master
Charles Iliya Krempeaux 2022-08-08 10:21:23 -07:00
parent 9cbd049b34
commit d7e8552eea
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ if opt.Nothing[string]() == op {
// ... // ...
op = opt.Something("Hello world! 👾")
// ...
switch op { switch op {
case op.Nothing[string](): case op.Nothing[string]():
//@TODO //@TODO