Skip to content

Commit

Permalink
Added the is delete method for controls (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Kochkin authored Oct 13, 2022
1 parent 4a71179 commit c81643b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions control.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ type Control interface {
// Checks whether control is complete (all required metadata received)
IsComplete() bool

// Checks whether control is delete
IsDeleted() bool

// Checks whether control has retained value
// (which is not true for button types or something).
IsRetained() bool
Expand Down

0 comments on commit c81643b

Please sign in to comment.