isAlta
isAlta(
record):record is RegistroAlta
Defined in: src/types.ts:211
Discriminates the two record types by the presence of TipoFactura, which only RegistroAlta carries. Shared by huella.ts (canonical-string building) and validate.ts (record validation) — both need the same discriminator, so it lives here rather than being redefined in each.
Parameters
Section titled “Parameters”record
Section titled “record”RegistroAlta | RegistroAnulacion
Returns
Section titled “Returns”record is RegistroAlta