Function isValidObjectId

  • Returns true if Mongoose can cast the given value to an ObjectId, or false otherwise.

    Returns true

  • Parameters

    • v: any

    Returns boolean

Generated using TypeDoc