MCPcopy Index your code
hub / github.com/codeaashu/claude-code / hasAnyProps

Function hasAnyProps

src/ink/Ansi.tsx:215–217  ·  view source on GitHub ↗
(props: SpanProps)

Source from the content-addressed store, hash-verified

213 return a.color === b.color && a.backgroundColor === b.backgroundColor && a.bold === b.bold && a.dim === b.dim && a.italic === b.italic && a.underline === b.underline && a.strikethrough === b.strikethrough && a.inverse === b.inverse && a.hyperlink === b.hyperlink;
214}
215function hasAnyProps(props: SpanProps): boolean {
216 return props.color !== undefined || props.backgroundColor !== undefined || props.dim === true || props.bold === true || props.italic === true || props.underline === true || props.strikethrough === true || props.inverse === true || props.hyperlink !== undefined;
217}
218function hasAnyTextProps(props: SpanProps): boolean {
219 return props.color !== undefined || props.backgroundColor !== undefined || props.dim === true || props.bold === true || props.italic === true || props.underline === true || props.strikethrough === true || props.inverse === true;
220}

Callers 1

Ansi.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected