toggle menu
xmlutil
0.90.2
Common
switch theme
search in API
core
/
nl.adaptivity.xmlutil
/
writeListIfNotEmpty
write
List
If
Not
Empty
inline
fun
<
T
>
XmlWriter
.
writeListIfNotEmpty
(
iterable
:
Iterable
<
T
>
,
nsUri
:
String
?
,
localName
:
String
,
prefix
:
String
?
=
null
,
body
:
XmlWriter
.
(
T
)
->
Unit
)
(
source
)
Helper function for writing a list only if it contains any element.