In different Kotlin examples for Android I see toast("Some message...") or toastLong("Some long message"). For example:
toast("Some message...")
toastLong("Some long message")
It's simply an extension function for Context (like other pointed out already).
Context
You can find a lot of pre-defined android extension functions in Anko, which is probably what many of the tutorials use as well.