Skip to main content
Module

x/create_react_app/deps.ts>oak.Router#forEach

Create React App with Deno
Latest
method oak.Router.prototype.forEach
import { oak } from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";
const { Router } = oak;

Iterate over the routes currently added to the router, calling the callback function for each value.

Parameters

callback: (
value1: Route,
value2: Route,
router: this,
) => void
optional
thisArg: any = [UNSUPPORTED]