containsClass Method

Query if this iModel contains the definition of the specified class.

containsClass(classFullName: string): boolean

@returns true if the iModel contains the class definition or false if not.

@see - querySchemaVersion

  • importSchema
Parameter Type Description
classFullName string The full name of the class, for example, SomeSchema:SomeClass

Returns - boolean

true if the iModel contains the class definition or false if not.

Defined in

Last Updated: 16 April, 2024