Type alias CustomGuardCodec<Fns>

CustomGuardCodec<Fns>: Fns & {
    codecType: "type";
    serializeGuard: ((value, ctx) => boolean);
    type: string;
}

Type Parameters

Type declaration

  • codecType: "type"
  • serializeGuard: ((value, ctx) => boolean)
      • (value, ctx): boolean
      • Parameters

        Returns boolean

  • type: string