API Reference > ecschema-editing > 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 ecschema-editing/src/Validation/SchemaValidationVisitor.ts Line 229 Last Updated: 30 November, 2023