import { TypeBase } from "https://deno.land/x/pg_mem@2.6.6/datatypes/datatype-base.ts";
Methods
canConvertImplicit(to: _IType<TRaw>): boolean | nil
Can constant literals be converted implicitely (without a cast... i.e. you can use both values as different values of a case expression, for instance)
convertImplicit(_a: IValue<TRaw>, _to: _IType<any>): IValue<any>
Perform implicit conversion
Perform conversion given type to this type (inverse of doCast())
optional
doCanBuildFrom(from: _IType): boolean | nilCan be built to from (inverse of doCanCast())
optional
doCanConvertImplicit(to: _IType<TRaw>): booleanPerform conversion from this type to given type
drop(t: _Transaction): void
hash(value: any): string | number | null
When performing 'a+b', will be given 'b' type, this returns the prefered resulting type, or null if they are not compatible
toString(): string