MCPcopy Index your code
hub / github.com/github/copilot-sdk / goDiscriminatorConstSuffix

Function goDiscriminatorConstSuffix

scripts/codegen/go.ts:800–802  ·  view source on GitHub ↗
(value: GoDiscriminatorValue)

Source from the content-addressed store, hash-verified

798}
799
800function goDiscriminatorConstSuffix(value: GoDiscriminatorValue): string {
801 return typeof value === "boolean" ? (value ? "True" : "False") : goEnumConstSuffix(value);
802}
803
804function compareGoDiscriminatorValues(left: GoDiscriminatorValue, right: GoDiscriminatorValue): number {
805 if (typeof left === "boolean" && typeof right === "boolean") {

Callers 1

Calls 1

goEnumConstSuffixFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…