Are there any functions besides `print()` and `pri...
# getting-started
e
Are there any functions besides
print()
and
println()
that can be called statically without a prior
import
?
r
All functions from the packages imported by default https://kotlinlang.org/docs/packages.html#default-imports
🙏 1
e
Ah, now I know where the basic types come from.
I was hoping to find other functions of interest to very beginners, but they seem to be mostly extension functions, static factory methods, assertions, and more advanced things, like functions taking blocks.
s
🙏 1
e
Thanks, @Stephan Schroeder. I'm looking for functions to have people try on their very first day of coding. I think I'll just have them import
kotlin.math.*