Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoMudEngine/GoMud
/ Empty
Method
Empty
internal/scripting/scripting.go:41–43 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
39
}
40
41
func
(t *TextWrapperStyle) Empty() bool {
42
return
t.Fg == `` && t.Bg == `` && t.ColorPattern == ``
43
}
44
45
func
(t *TextWrapperStyle) AnsiClass() string {
46
if
t.cache != `` {
Callers
8
Wrap
Method · 0.95
TestParty_AutoAttack
Function · 0.80
TestGetFormattedAdjectives
Function · 0.80
TestLoad_EmptyDirectory
Function · 0.80
TestQuery_GroupByMobId
Function · 0.80
TestLoad_MissingDirectory
Function · 0.80
TestOnMobDeath_SkipsSuicide
Function · 0.80
TestRoom_AddCorpse
Function · 0.80
Calls
no outgoing calls
Tested by
7
TestParty_AutoAttack
Function · 0.64
TestGetFormattedAdjectives
Function · 0.64
TestLoad_EmptyDirectory
Function · 0.64
TestQuery_GroupByMobId
Function · 0.64
TestLoad_MissingDirectory
Function · 0.64
TestOnMobDeath_SkipsSuicide
Function · 0.64
TestRoom_AddCorpse
Function · 0.64