dir

abstract fun dir(item: Any? = definedExternally, options: Any? = definedExternally)(source)

MDN Reference