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