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: 12 June, 2024