makeInput function test

Last updated: 2026-03-01T23:25:47.096Z

Metrics

LOC: 5 Complexity: 1 Params: 1

Signature

makeInput(type: string): : HTMLInputElement

Source Code

function makeInput(type: string): HTMLInputElement {
  const el = document.createElement("input");
  el.type = type;
  return el;
}

Dependencies (Outgoing)

graph LR makeInput["makeInput"] detectBasicType["detectBasicType"] makeInput -->|uses| detectBasicType makeInput -->|calls| makeInput style makeInput fill:#dbeafe,stroke:#2563eb,stroke-width:2px click makeInput "4a0ab4c48290e654.html" click detectBasicType "f8d5479646b82aad.html"
TargetType
detectBasicType uses
makeInput calls

Impact (Incoming)

graph LR makeInput["makeInput"] makeInput -->|calls| makeInput makeInput -->|calls| makeInput style makeInput fill:#dbeafe,stroke:#2563eb,stroke-width:2px click makeInput "4a0ab4c48290e654.html"
SourceType
makeInput calls
makeInput calls