route_matcher: Generate functions to match specified route.

Description Usage Arguments Value

View source: R/route.r

Description

Generate functions to match specified route.

Usage

1
  route_matcher(route)

Arguments

route

route url

Value

match

function returning TRUE if argument matches route, FALSE otherwise

params

function that parses path and returns named list of parameters


hadley/sinartra documentation built on May 17, 2019, 12:47 p.m.