push Method
Adds a new classifier to the list, if an equivalent classifier is not already present.
push(classifier: Classifier): Classifier | undefined
Parameter | Type | Description |
---|---|---|
classifier | Classifier | JSON representation of the new classifier |
Returns - The copy of classifier
that was added to the list, or undefined if an equivalent classifier already exists in the list.
Defined in
Last Updated: 08 January, 2020