Test case and small polish

This commit is contained in:
barsdeveloper
2024-12-04 23:34:23 +02:00
parent 626b1eaafd
commit 3de0e74ef0
7 changed files with 85 additions and 20 deletions

View File

@@ -173,6 +173,7 @@ export default class PinEntity extends IEntity {
return new PinEntity(objectEntity)
}
/** @returns {String} */
getType() {
const category = this.PinType.PinCategory?.toString().toLocaleLowerCase()
if (["struct", "class", "object", "type", "statictype"].includes(category)) {