MCPcopy Create free account
hub / github.com/openclaw/gogcli / Any

Method Any

internal/docsformat/format.go:80–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80func (o Options) Any() bool {
81 return strings.TrimSpace(o.FontFamily) != "" ||
82 o.FontSize != 0 ||
83 strings.TrimSpace(o.TextColor) != "" ||
84 strings.TrimSpace(o.Background) != "" ||
85 strings.TrimSpace(o.Link) != "" ||
86 o.ClearLink ||
87 o.Code ||
88 o.Bold || o.ClearBold ||
89 o.Italic || o.ClearItalic ||
90 o.Underline || o.ClearUnderline ||
91 o.Strikethrough || o.ClearStrike ||
92 strings.TrimSpace(o.Alignment) != "" ||
93 o.LineSpacing != 0 ||
94 strings.TrimSpace(o.SpacingMode) != "" ||
95 o.HeadingLevel != nil ||
96 strings.TrimSpace(o.NamedStyle) != "" ||
97 o.Bullets || o.Ordered || strings.TrimSpace(o.BulletPreset) != "" || o.ClearBullets ||
98 o.IndentStart != nil || o.IndentFirstLine != nil || o.IndentEnd != nil ||
99 o.SpaceAbove != nil || o.SpaceBelow != nil ||
100 o.KeepWithNext != nil || o.KeepLinesTogether != nil
101}
102
103func BuildRequests(options Options, start, end int64, tabID string) ([]*docs.Request, error) {
104 if start < 0 || end <= start {

Callers 3

anyMethod · 0.80
TestOptionsAnyFunction · 0.80
BuildWriteRequestsFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestOptionsAnyFunction · 0.64