IdFlagConfig: {
    length?: 15 | 18 | "both";
    startsWith?: string;
}

Type declaration

  • Optional length?: 15 | 18 | "both"

    Can specify if the version must be 15 or 18 characters long or 'both'. Leave blank to allow either 15 or 18.

  • Optional startsWith?: string

    If the ID belongs to a certain sobject type, specify the 3 character prefix.