Like this: ``` fun x(f: Any): Any? { if (f is ...
# getting-started
o
Like this:
Copy code
fun x(f: Any): Any? {
    if (f is Function0<*>)
        return f()

    return null
}