Summary
Generates a Singaporean National Registration Identity Card (NRIC) for holder who is
born between specified ages.
Syntax
public static string NRIC(bool validChecksum = true, int minAge = 18, int maxAge = 65)
Remarks
Description of the NRIC standard is at
wikipedia. This
ID was issued for the first time in 1965 in Singapore. See also:
github faker ruby code.
Parameters
Name | Type | Description |
---|---|---|
validChecksum | bool | Indicates whether the generated NRIC has a valid checksum or not |
minAge | int | Minimum age of the holder |
maxAge | int | Maximum age of the holder |
Return Value
Type | Description |
---|---|
string | The generated NRIC |