123456789101112131415 |
- export class StoreObject {
- constructor (type, value, readOnly) {
- this.type = type;
- this.value = value;
- this.readOnly = readOnly;
- }
- isCompatible (another) {
- if( another instanceof StoreObject) {
- return this.type === another.type;
- }
- return false;
- }
- }
|