@jsonforms/core 3.0.0-rc.1 → 3.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -295,9 +295,9 @@ var RuleEffect;
295
295
  const isInternationalized = (element) => typeof element === 'object' && element !== null && typeof element.i18n === 'string';
296
296
  const isGroup = (layout) => layout.type === 'Group';
297
297
  const isLayout = (uischema) => uischema.elements !== undefined;
298
- const isScopable = (obj) => obj && typeof obj === 'object';
298
+ const isScopable = (obj) => !!obj && typeof obj === 'object';
299
299
  const isScoped = (obj) => isScopable(obj) && typeof obj.scope === 'string';
300
- const isLabelable = (obj) => obj && typeof obj === 'object';
300
+ const isLabelable = (obj) => !!obj && typeof obj === 'object';
301
301
  const isLabeled = (obj) => isLabelable(obj) && ['string', 'boolean'].includes(typeof obj.label);
302
302
 
303
303
  const move = (array, index, delta) => {