MCPcopy
hub / github.com/dropbox/godropbox / IsString

Method IsString

database/sqltypes/sqltypes.go:190–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188}
189
190func (v Value) IsString() (ok bool) {
191 _ = String{} // compiler bug work-around
192 if v.Inner != nil {
193 _, ok = v.Inner.(String)
194 }
195 return ok
196}
197
198func (v Value) IsUtf8String() (ok bool) {
199 _ = String{} // compiler bug work-around

Callers 2

TestBuildValueMethod · 0.80
TestBuildValuePointerMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestBuildValueMethod · 0.64
TestBuildValuePointerMethod · 0.64