method Drash.Request.prototype.acceptsimport { Drash } from "https://deno.land/x/drash@v2.7.0/tests/deps.ts"; const { Request } = Drash; 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.