For a number 0 returns None, otherwise acts same as opt.
0
optZero(undefined) // NoneoptZero(1) // Some(1)optZero(0) // None
For a number
0
returns None, otherwise acts same as opt.