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

Method IsFractional

database/sqltypes/sqltypes.go:182–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180}
181
182func (v Value) IsFractional() (ok bool) {
183 _ = Fractional(nil) // compiler bug work-around
184 if v.Inner != nil {
185 _, ok = v.Inner.(Fractional)
186 }
187 return ok
188}
189
190func (v Value) IsString() (ok bool) {
191 _ = String{} // compiler bug work-around

Callers 1

TestBuildValueMethod · 0.80

Calls 1

FractionalTypeAlias · 0.85

Tested by 1

TestBuildValueMethod · 0.64