I am trying to set up an option that is both type: "number"
and type: "string"
.
The documentation for .option()
specifies that the type
property of the option options object should be a string, and two of those choices are number and string. However, I want it to accept both.
How can I do this?