MCPcopy Create free account
hub / github.com/OWASP/APTS / is_header_candidate

Function is_header_candidate

scripts/validate_markdown_tables.py:77–78  ·  view source on GitHub ↗
(row: str, parsed_row: ParsedRow)

Source from the content-addressed store, hash-verified

75
76
77def is_header_candidate(row: str, parsed_row: ParsedRow) -> bool:
78 return bool(row.strip()) and parsed_row.separator_count >= 1 and len(parsed_row.cells) >= 2
79
80
81def is_separator_row(parsed_row: ParsedRow) -> bool:

Callers 1

validate_markdown_tablesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected