
Check if the object is write protected. Write protected objects cannot be modified through get/set methods and virtual fields.
# S3 method for Event
getWriteProtected(this, ...)
An object.
Not used.
TRUE or FALSE
For more information see Event
.
# NOT RUN {
# create an object
o<-Event()
# toggle write protection
o$writeProtected<-TRUE
# check if it's write protected
getWriteProtected(o)
# check write protection via virtual field
o$writeProtected
# }
Run the code above in your browser using DataLab