When having this code:
// my-program.js
var output = nopt({
val: [Number, null]
}, {}, process.argv, 2);
then attempting this cli command:
gives me:
var output = { "val" : null};
Which is okay. However, I dont think the following should happen, should it?:
output.val === null // => false