MCPcopy
hub / github.com/ory/kratos / IsZero

Method IsZero

oryx/sqlxx/types.go:582–582  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

580func (ns FalsyNullBool) IsZero() bool { return !ns.Valid || !ns.Bool }
581func (ns NullString) IsZero() bool { return len(ns) == 0 }
582func (ns NullTime) IsZero() bool { return time.Time(ns).IsZero() }
583func (n MapStringInterface) IsZero() bool { return len(n) == 0 }
584func (m JSONArrayRawMessage) IsZero() bool { return len(m) == 0 || string(m) == "[]" }
585func (m JSONRawMessage) IsZero() bool { return len(m) == 0 || string(m) == "null" }

Callers

nothing calls this directly

Calls 1

IsZeroMethod · 0.45

Tested by

no test coverage detected