(id?: string)
| 9 | * @returns A boolean indicating if the string is a valid MongoDB ObjectID. |
| 10 | */ |
| 11 | export const isObjectID = (id?: string): boolean => |
| 12 | id ? ObjectId.isValid(id) : false; |
| 13 | |
| 14 | // Refer : http://stackoverflow.com/a/430240/1932901 |
| 15 | /** |
no outgoing calls
no test coverage detected