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

Function goTypeIsSlice

scripts/codegen/go.ts:367–369  ·  view source on GitHub ↗
(goType: string | undefined)

Source from the content-addressed store, hash-verified

365}
366
367function goTypeIsSlice(goType: string | undefined): boolean {
368 return goType?.startsWith("[]") ?? false;
369}
370
371function goTypeIsMap(goType: string | undefined): boolean {
372 return goType?.startsWith("map[") ?? false;

Callers 3

goTypeIsNilableFunction · 0.85
goJSONOmitSuffixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…