Skip to content

Commit

Permalink
removed example usage of Option.isEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
aslesarenko committed Feb 19, 2022
1 parent 251784a commit 5212765
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/LangSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@ The following syntax is supported to access registers on box objects:
```
box.R3[Int].get // access R3 register, check that its value of type Int and return it
box.R3[Int].isDefined // check that value of R3 is defined and has type Int
box.R3[Int].isEmpty // check that value of R3 is undefined
box.R3[Int].getOrElse(d) // access R3 value if defined, otherwise return `d`
```

Expand Down

0 comments on commit 5212765

Please sign in to comment.