The with() Function

with() concisely performs multiple actions on an object.

The Kotlin standard library contains numerous small but valuable functions, which make your code clearer and more succinct.

End of sample. See AtomicKotlin.com for full early-access book.



Previous          Next

©2018 Mindview LLC. All Rights Reserved.