Package dev.floofy.utils.kotlin
Functions
Link copied to clipboard
Returns the humanized time of a nanosecond-precision time.
Link copied to clipboard
inline fun <E : Throwable, T, U> T.tryCatch(noinline body: T.() -> U): U?
Content copied to clipboard
Tries a function method from T, returns null
if the exception was an instance of E, if not, the exception will just throw on its own.