MCPcopy Create free account
hub / github.com/dolthub/doltgresql / isScalar

Method isScalar

postgres/parser/json/encoded.go:710–712  ·  view source on GitHub ↗

isScalar implements the JSON interface.

()

Source from the content-addressed store, hash-verified

708
709// isScalar implements the JSON interface.
710func (j *jsonEncoded) isScalar() bool {
711 return j.typ != ArrayJSONType && j.typ != ObjectJSONType
712}
713
714func (j *jsonEncoded) Len() int {
715 if j.typ != ArrayJSONType && j.typ != ObjectJSONType {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected