API Reference > ecschema-metadata > Validation > IRule IRule<T extends AnyECType, U> Type alias IRule = (ecDefinition: T, ...args: U[]) => AsyncIterable<BaseDiagnostic<T, any[]>> Defined in core/ecschema-metadata/src/Validation/Rules.ts Line 35 Last Updated: 11 June, 2024