Skip to content

Instantly share code, notes, and snippets.

@yenerm

yenerm/Person.kt

Last active Nov 9, 2020
Embed
What would you like to do?
<!-- Copyright 2020 Google LLC.
SPDX-License-Identifier: Apache-2.0 -->
var address: String by Delegates.vetoable("") {
property, oldValue, newValue ->
newValue.length > 14
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment