RealmValueConvenience extension

Extensions on RealmValue providing convenience conversion operators

on

Methods

asList() RealmList<RealmValue>

Available on RealmValue, provided by the RealmValueConvenience extension

Casts value to a List
asMap() RealmMap<RealmValue>

Available on RealmValue, provided by the RealmValueConvenience extension

Casts value to a Map<String, RealmValue>. It will throw an exception if value is not a map.