MCPcopy Index your code
hub / github.com/ent/ent / isPrimitive

Function isPrimitive

dialect/sql/sqljson/dialect.go:216–222  ·  view source on GitHub ↗
(v any)

Source from the content-addressed store, hash-verified

214}
215
216func isPrimitive(v any) bool {
217 switch reflect.TypeOf(v).Kind() {
218 case reflect.Array, reflect.Slice, reflect.Map, reflect.Struct, reflect.Ptr, reflect.Interface:
219 return false
220 }
221 return true
222}

Callers 3

appendArgMethod · 0.85
marshalArgsMethod · 0.85
appendArgMethod · 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…