def request.is
import gralha-http-core@0.1.0.0/http.bend as Httpimport Base
302# Whether the request is method on path, e.g. request.is(r, "GET", "/").
303def request.is(+r: Request, method: String, path: String) -> Bool:
304 String.eq(request.method(r), method) && String.eq(request.path(r), path)
Uses (7)
Used by (0)
No other definition uses this definition.