asFragment

open fun asFragment(): Fragment

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

Return

this