hallvard
02/11/2019, 11:19 AMdiesieben07
02/11/2019, 11:54 AMvalue is Array<*>
and then call value.toList()
hallvard
02/11/2019, 12:03 PMobj[key]
to an array? Yes, that might work. I'll check.diesieben07
02/11/2019, 12:03 PMis
check it should smartcast for youhallvard
02/11/2019, 12:04 PMdiesieben07
02/11/2019, 12:05 PMobj[key]
has a dynamic type, so the function call is translated to javascript as-is. But toList
is an extension function, so it needs special handling at compile time, which only works if the type is knownhallvard
02/11/2019, 12:17 PM