validateSource()
function validateSource(
templateBuffer,
sourceBuffer,
options?): Promise<ValidationReport>;
Defined in: impl/js/src/validator.ts:64
Experimental
Validate that an .xlsx source workbook supplies the headers required by a
template. This is read-only and does not render output workbooks.
Added by ADR-0078 as an additive validation gate.
Parameters
| Parameter | Type |
|---|---|
templateBuffer | ArrayBuffer |
sourceBuffer | ArrayBuffer |
options? | ValidateOptions |
Returns
Promise<ValidationReport>