API Reference > imodeljs-common > DisplayStyles > SpatialClassifiers > add add Method Add a classifier to this set. If an equivalent classifier already exists, the supplied classifier is not added. add(classifier: SpatialClassifier): SpatialClassifier Parameter Type Description classifier SpatialClassifier The classifier to add. Returns - SpatialClassifier The equivalent pre-existing classifier, if one existed; or the supplied classifier, if it was added to the set. Defined in core/common/src/SpatialClassification.ts Line 326 Last Updated: 11 June, 2024