MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / isStringType

Function isStringType

internal/mcp/dispatch_http.go:839–842  ·  view source on GitHub ↗

isStringType returns true when v is a Go string. Used by the fields-builder to distinguish "real value to pass through" from "empty/missing".

(v any)

Source from the content-addressed store, hash-verified

837// fields-builder to distinguish "real value to pass through" from
838// "empty/missing".
839func isStringType(v any) bool {
840 _, ok := v.(string)
841 return ok
842}
843
844// columnFieldKeys is the set of fields-blob keys the dispatcher
845// recognizes as actually being column writes on the underlying

Callers 1

mapItemCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected