def request.is

gralha-http-core@0.1.0.0 · http.bend:302

import gralha-http-core@0.1.0.0/http.bend as Http
import 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.