powered by
Creates a type that prevents reassignment after initial value is set.
Readonly(type)
A readonly type modifier
A sicher_type object
PI %:% Readonly(Double) %<-% 3.14159 try(PI <- 3.0) # Error: cannot reassign readonly
Run the code above in your browser using DataLab