-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Type: Feature RequestThis item is confirmed by the maintainers to be a request for a new featureThis item is confirmed by the maintainers to be a request for a new feature
Description
It would be nice to have a isEmpty function for both the CompositeCell as well as the Data type.
This could be accomplished with here:
member this.isEmpty =
match this with
| Term oa -> oa.isEmpty()
| FreeText s -> String.IsNullOrWhiteSpace s
| Unitized (v, oa) -> String.IsNullOrWhiteSpace v && oa.isEmpty()
| Data d -> d.isEmpty()
and for Data here
member this.isEmpty() =
this.ID.IsNone && this.Name.IsNone && this.DataType.IsNone && this.Format.IsNone && this.SelectorFormat.IsNone && this.Comments.Count = 0
Metadata
Metadata
Assignees
Labels
Type: Feature RequestThis item is confirmed by the maintainers to be a request for a new featureThis item is confirmed by the maintainers to be a request for a new feature
Type
Projects
Status
Ready