API Reference > imodeljs-backend > iModels > IModelExportHandler > shouldExportCodeSpec shouldExportCodeSpec MethodProtected If true is returned, then the CodeSpec will be exported. shouldExportCodeSpec(_codeSpec: CodeSpec): boolean note This method can optionally be overridden to exclude an individual CodeSpec from the export. The base implementation always returns true. Parameter Type Description _codeSpec CodeSpec Returns - boolean Defined in core/backend/src/IModelExporter.ts Line 37 Last Updated: 11 June, 2024