Types
EmptyBox
Represents absence of a value
Parent types
Box
- A box which might (FullBox) or might not (EmptyBox) contain a value
NoData
Direct children types
UnmatchedParam
- ArgvMatcher internal type, do not use!
Methods
Arr
(eb:
EmptyBox
)
Convert EmptyBox to array
Bool
(eb:
EmptyBox
)
Always false
dflt
(eb:
EmptyBox
, x:
Any
)
Wrap x in a Box
each
(eb:
EmptyBox
, cb:
Fun
)
Do nothing
filter
(eb:
EmptyBox
, predicate:
Any
)
Do nothing
get
(eb:
EmptyBox
)
Get EmptyBox value. Always throws InvalidArgument.
get
(eb:
EmptyBox
, dflt:
Any
)
Get EmptyBox value
map
(eb:
EmptyBox
, mapper:
Fun
)
Do nothing