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

x/pg_mem/mod.ts>IEquivalentType

An in memory postgres DB instance for your unit tests
Latest
interface IEquivalentType
import { type IEquivalentType } from "https://deno.land/x/pg_mem@3.0.3/mod.ts";

A type definition that is equivalent to another type

Properties

readonly
name: string

Type name

readonly
equivalentTo: DataType | IType

Which underlying type is it equivalent to ?

Methods

isValid(value: any): boolean

Is this value valid ?