asFragment

abstract fun asFragment(): Fragment

Returns the instance as a Fragment (saves you and instanceOf check and cast)

Return

this