validateGasConsumerNumber
function validateGasConsumerNumber(input, company): boolean;Defined in: bills.ts:118
Validates a gas bill consumer number: 11 digits for SNGPL, 10 digits for SSGC, as their bill pages ask for (retrieved 2026-11-18; see DATA.md). No check digit is published, so only the format is checked.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
input |
string |
- |
company |
GasCompany |
SNGPL or SSGC; anything else returns false |
Returns
Section titled “Returns”boolean