asReadOnly

Returns a read-only view of this mutable ScriptsCanOverrideSlicerSettingsProperty. Typical usage :

private val _fooProperty by scriptsCanOverrideSlicerSettingsProperty( initialValue )
val fooProperty = _fooProperty.asReadOnly()
val foo by _fooProperty
    private set

This give private access to the mutable property, and the mutable var, but the public only has read-only access.