@startuml !$json = { "value": ["0", 0 , false, null, true, "1", 1, ""] } :$json.value; split :test of 'v'; !foreach $v in $json.value !if ( $v ) #palegreen:is true; !else #pink:is false; !endif !endfor kill split again :test of 'v == <U+0025>true()'; !foreach $v in $json.value !if ( $v == %true() ) #palegreen:is true; !else #pink:is false; !endif !endfor kill endsplit @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
🎉 Discover the future PlantUML Web Editor! 🚀
PNG
SVG
ASCII Art