New to Kotlin, I have seen this code:
val myModule : Module = module { viewModel { MyViewModel(get()) } single { MyRepository() } } Looking at the Kotlin docs, it isn't clear to me what the braces mean after "module". Is module a function and the braces are used to initialize the function? If this is true, can you point me to the part in the Kotlin documentation that indicates this? I can't find anything in the docs that shows an example of this. Here is the link: