API Reference > ecschema-Metadata > Metadata > ECClass > is is Method Overloads is(targetClass) is(targetClass, schemaName) is(targetClass) is(targetClass: ECClass): Promise<boolean> Parameter Type Description targetClass ECClass Returns - Promise<boolean> is(targetClass, schemaName) Indicates if the targetClass is of this type. is(targetClass: string, schemaName: string): Promise<boolean> Parameter Type Description targetClass string The ECClass or ECClass name to check. schemaName string The schema name. Required if targetClass is the ECClass name. Returns - Promise<boolean> Defined in core/ecschema-metadata/src/Metadata/Class.ts Line 609 Last Updated: 11 June, 2024