trufflesuite/truffle

View on GitHub
packages/codec-components/src/docs/data/codec/format.values.bool-value.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { Format } from "@truffle/codec";

export default {
  true: {
    kind: "value",
    type: { typeClass: "bool", typeHint: "bool" },
    value: { asBoolean: true },
    interpretations: {}
  },
  false: {
    kind: "value",
    type: { typeClass: "bool", typeHint: "bool" },
    value: { asBoolean: false },
    interpretations: {}
  }
} satisfies Record<string, Format.Values.BoolValue>;