generateNationalId function exported ✓ 100.0%

Last updated: 2026-03-03T18:48:07.257Z

Metrics

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

Signature

generateNationalId(): : string

Summary

Generates a random 10-digit national ID number.

Source Code

export function generateNationalId(): string {
  return faker.string.numeric(10);
}

No outgoing dependencies.

Impact (Incoming)

graph LR generateNationalId["generateNationalId"] GeneratorFn["GeneratorFn"] GeneratorFn -->|calls| generateNationalId style generateNationalId fill:#dbeafe,stroke:#2563eb,stroke-width:2px click generateNationalId "e71e186823c87c3c.html" click GeneratorFn "07e2c388ba1ac3f3.html"
SourceType
GeneratorFn calls