Access the list of valid values for an Enum field in a MongoDB Schema
The other day I saw a comment on the Web somewhere telling one how to access the list of values defined for an Enum field in a MongoDB.  Sadly, I didn't commit that tidbit or its URL to memory and now I need it!

Does anyone know how to do this?  Preferably via Mongoose.js for Node.js?

Thanks in advance!
Access the list of valid values for an Enum field in a MongoDB Schema
===

The other day I saw a comment on the Web somewhere telling one how to access the list of values defined for an Enum field in a MongoDB.  Sadly, I didn't commit that tidbit or its URL to memory and now I need it!

Does anyone know how to do this?  Preferably via Mongoose.js for Node.js?

Thanks in advance!