method Request.prototype.acceptsimport { Request } from "https://deno.land/x/drash@v2.7.0/mod.ts"; accepts(contentType: string): booleanCheck if the content type in question are accepted by the request. ParameterscontentType: string A proper MIME type. See /src/dictionaries/mime_db.ts for proper MIME types that Drash can handle. ReturnsbooleanTrue if yes, false if no.