Skip to content

Variable: canAny ​

ts
const canAny: Guard<string, RouteGuardOptions> = defaultGuards.canAny;

Defined in: packages/sveltekit/src/server/guards.ts:289

Guards.canAny with the default handlers (401 / 403 errors). Any name.

Released under the MIT License. Inspired by spatie/laravel-permission.