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

x/grpc_basic/proto.ts>Type#verify

Very basic gRPC implementation for Deno
Latest
method Type.prototype.verify
Re-export
import { Type } from "https://deno.land/x/grpc_basic@0.4.7/proto.ts";

Verifies that field values are valid and that required fields are present.

Parameters

message: { [k: string]: any; }

Plain object to verify

Returns

(null | string)

null if valid, otherwise the reason why it is not