API Reference > ecschema-metadata > SchemaPartVisitorDelegate > ISchemaPartVisitor > visitUnit visitUnit MethodOptional Called for each Unit instance. visitUnit(unit: Unit): Promise<void> Parameter Type Description unit Unit a Unit object. Returns - Promise<void> Defined in core/ecschema-metadata/src/SchemaPartVisitorDelegate.ts Line 233 Last Updated: 12 June, 2024