@elyx-code/project-logic-tree 0.0.6814 → 0.0.6815

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.
package/dist/index.d.ts CHANGED
@@ -9765,7 +9765,7 @@ export declare enum BaseValueDescriptorIds {
9765
9765
  export declare function checkIsNestedScope(parent: EntityWithLogicScopeState | ProjectState, child: EntityWithLogicScopeState | ProjectState, project: ProjectState): boolean;
9766
9766
 
9767
9767
  /**
9768
- * Checks whether the given data-type allows for a null value.
9768
+ * Checks whether the given data-type ALLOWS for a null value.
9769
9769
  * This is either because the 'entity' field is the primitive null-prototype
9770
9770
  * Or because it has a literal-value, with its value set to `null`
9771
9771
  * Or because the data-type is an or-group where at least one of its children meets the above requirements
@@ -9774,6 +9774,14 @@ export declare enum BaseValueDescriptorIds {
9774
9774
  */
9775
9775
  export declare function checkIsNullable(dataType: DataTypeState | null): boolean;
9776
9776
 
9777
+ /**
9778
+ * Checks whether the given data-type is either explicitly set to null, or is an or-group where all options are explicitly set to null. In other words, whether the data-type allows only for a null value and nothing else.
9779
+ *
9780
+ * @param {DataTypeState | null} dataType the data-type to check
9781
+ * @returns {boolean} whether the given data-type is either explicitly set to null
9782
+ */
9783
+ export declare function checkIsOnlyNull(dataType: DataTypeState | null): boolean;
9784
+
9777
9785
  export declare function checkIsRequiredValue(entity: EntityWithValueState | PropertyState | ValueDescriptorState): boolean;
9778
9786
 
9779
9787
  export declare function checkIsRowTransformerUpToDate(newestOpenRowTransformer: DefinitionEntityState, entity: DefinitionEntityState, lastPublishedEntityVersion: DefinitionEntityState): {