Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak_nest/example/deps.ts>IsOptional

Refer to nestjs to realize some common functions for Deno
Go to Latest
function IsOptional
import { IsOptional } from "https://deno.land/x/oak_nest@v1.15.1/example/deps.ts";

Checks if value is missing and if so, ignores all validators.

Parameters

optional
validationOptions: ValidationOptions

Returns

PropertyDecorator