findAntName function infrastructure exported ✓ 100.0%

Last updated: 2026-03-04T23:21:38.390Z

Metrics

LOC: 6 Complexity: 2 Params: 1 Coverage: 100.0% (1/1 lines, 0x executed)

Signature

findAntName(wrapper: HTMLElement): : string | undefined

Summary

Extracts the name from Ant Design's inner control.

Source Code

export function findAntName(wrapper: HTMLElement): string | undefined {
  const input = wrapper.querySelector<HTMLInputElement | HTMLTextAreaElement>(
    "input, textarea",
  );
  return input?.name || undefined;
}

No outgoing dependencies.

Impact (Incoming)

graph LR findAntName["findAntName"] matches["matches"] buildField["buildField"] matches -->|uses| findAntName buildField -->|calls| findAntName matches -->|uses| findAntName buildField -->|calls| findAntName style findAntName fill:#dbeafe,stroke:#2563eb,stroke-width:2px click findAntName "5e51cc1f95724859.html" click matches "cc5111fefe824574.html" click buildField "a7124eb38369f9ed.html"
SourceType
matches uses
buildField calls
matches uses
buildField calls