Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oak_nest/deps.ts>OriginRouter#entries

Refer to nestjs to realize some common functions for Deno
Go to Latest
method OriginRouter.prototype.entries
import { OriginRouter } from "https://deno.land/x/oak_nest@v1.15.2/deps.ts";

Iterate over the routes currently added to the router. To be compatible with the iterable interfaces, both the key and value are set to the value of the route.

Returns

IterableIterator<[Route<string>, Route<string>]>