variable Http.guard

If condition doesn't match, return with specified code.

Type

(
code: number,
...handlers: Handler[],
) => unknown

Usage

import { Http } from ".";