API Reference > ecschema-metadata > Validation > SchemaValidationVisitor > visitUnit visitUnit Method Called for each Unit instance found during schema traversal. visitUnit(unit: Unit): Promise<void> Parameter Type Description unit Unit a Unit object. Returns - Promise<void> Defined in core/ecschema-metadata/src/Validation/SchemaValidationVisitor.ts Line 246 Last Updated: 12 June, 2024