asList

abstract fun asList(): RealmList<RealmAny?>

Returns the value from this RealmAny as a RealmList containing new RealmAnys.

Throws

if the stored value is not a list.