API Reference > ecschema-Metadata > Metadata > RelationshipConstraint > supportsClass supportsClass Method Indicates if the provided ECClass is supported by this RelationshipConstraint. supportsClass(ecClass: ECClass): Promise<boolean> Parameter Type Description ecClass ECClass The class to check. Returns - Promise<boolean> Defined in core/ecschema-metadata/src/Metadata/RelationshipClass.ts Line 321 Last Updated: 11 June, 2024