https://kotlinlang.org logo
#dsl
Title
# dsl
h

helpermethod

01/04/2018, 5:11 PM
Hi, another question: Is it somehow possible to require that a method is called, something like
Copy code
foo {
    bar("bar") // this is required
    baz() // this is optional
}
o

orangy

01/04/2018, 6:58 PM
No, they are just functions.
2 Views