Returns true if the given value is a Mongoose ObjectId (using instanceof) or if the given value is a 24 character hex string, which is the most commonly used string representation of an ObjectId.
instanceof
Generated using TypeDoc
Returns true if the given value is a Mongoose ObjectId (using
instanceof
) or if the given value is a 24 character hex string, which is the most commonly used string representation of an ObjectId.