nonEmpty (accessor)
non
Empty
get
nonEmpty
(
)
:
boolean
false
for
Some
,
true
for
None
.
If you need to narrow a type to
Some
, use
Opt.isSome
.
Returns
boolean
Back to index
false
for Some,true
for None.If you need to narrow a type to Some, use Opt.isSome.