For empty object ({}) returns None, otherwise acts same as opt.
{}
optEmptyObject(undefined) // NoneoptEmptyObject({}) // NoneoptEmptyObject({a: 0}) // Some({a: 0})
For empty object (
{}
) returns None, otherwise acts same as opt.