MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / HasScope

Method HasScope

pkg/wps/wpstypes.go:69–71  ·  view source on GitHub ↗
(scope string)

Source from the content-addressed store, hash-verified

67}
68
69func (e WaveEvent) HasScope(scope string) bool {
70 return utilfn.ContainsStr(e.Scopes, scope)
71}
72
73type SubscriptionRequest struct {
74 Event string `json:"event"`

Callers 1

editorRunFunction · 0.80

Calls 1

ContainsStrFunction · 0.92

Tested by

no test coverage detected