MCPcopy
hub / github.com/tinode/chat / IsInvalid

Method IsInvalid

server/store/types/types.go:840–842  ·  view source on GitHub ↗

IsInvalid checks if mode is invalid.

()

Source from the content-addressed store, hash-verified

838
839// IsInvalid checks if mode is invalid.
840func (m AccessMode) IsInvalid() bool {
841 return m == ModeInvalid
842}
843
844// IsDefined checks if the mode is defined: not invalid and not unset.
845// ModeNone is considered to be defined.

Callers 1

initTopicNewGrpFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected