mirror of
https://github.com/logos-storage/questionable.git
synced 2026-01-07 00:03:10 +00:00
Export Option.questionableUnpack
This commit is contained in:
parent
1e8ac329f8
commit
845a306417
@ -1,7 +1,7 @@
|
||||
import std/options
|
||||
import std/macros
|
||||
|
||||
proc questionableUnpack[T](option: Option[T]): (T, bool) =
|
||||
proc questionableUnpack*[T](option: Option[T]): (T, bool) =
|
||||
## Used internally
|
||||
|
||||
if option.isSome:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user