isReadOnly() Returns whether a record is read-only. Declarationfunc isReadOnly() -> Bool Return Valuetrue if the record is read-only; otherwise, false.