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

Method GetBool

pkg/waveobj/metamap.go:75–82  ·  view source on GitHub ↗
(key string, def bool)

Source from the content-addressed store, hash-verified

73}
74
75func (m MetaMapType) GetBool(key string, def bool) bool {
76 if v, ok := m[key]; ok {
77 if b, ok := v.(bool); ok {
78 return b
79 }
80 }
81 return def
82}
83
84func (m MetaMapType) GetInt(key string, def int) int {
85 if v, ok := m[key]; ok {

Callers 12

getConnUnionMethod · 0.80
checkCloseOnExitFunction · 0.80
createCmdStrAndOptsFunction · 0.80
startNewJobMethod · 0.80
MergeMetaFunction · 0.80
main-tsunami.goFile · 0.80
wavepathRunFunction · 0.80
fileRmRunFunction · 0.80
fileCpRunFunction · 0.80
fileMvRunFunction · 0.80
fileListRunFunction · 0.80
runRunFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected