[{"data":1,"prerenderedAt":247},["ShallowReactive",2],{"/dict/if":3,"/dict/if-surround":236},{"id":4,"title":5,"body":6,"description":203,"extension":204,"meta":205,"navigation":223,"path":232,"seo":233,"stem":234,"__hash__":235},"content/dict/if.md","NetLogo Dictionary: if",{"type":7,"value":8,"toc":192},"minimark",[9],[10,11,16,35,64,76,81,103,171],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","if","region",[17,18,20],"h3",{"id":19},"if10",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#if","doc-noteref","Reference to if","\nif\n",[28,29,34],"span",{"className":30,"role":32,"ariaLabel":33},[31],"since","note","Since version","\n1.0\n",[36,37,41],"h4",{"id":38,"className":39},"if-boolean-commands",[40],"section-heading",[21,42,46],{"className":43,"href":45},[44],"section-anchor","#if-boolean--commands",[28,47,50],{"className":48},[49],"prim_example",[51,52,53,54,58,59],"p",{},"if ",[55,56,57],"em",{},"boolean"," ",[28,60,58,61],{},[55,62,63],{},"commands",[51,65,66,67,69,70,72,73,75],{},"If ",[55,68,57],{}," reports true then the ",[55,71,63],{}," are run, otherwise the\ncommands are not run if ",[55,74,57],{}," reports false.",[51,77,66,78,80],{},[55,79,57],{}," reports a value other than true or false a runtime error will occur.",[51,82,83,84,86,87,99,100,102],{},"The ",[55,85,57],{}," may report a different value for different agents when used with a primitive like ",[88,89,91],"primitive",{"displayText":90,"permalink":90},"ask",[21,92,90],{"className":93,"dataDisplayText":90,"href":95,"rel":96,"target":98,"title":90},[94],"netlogo-wiki-link","/dictionary#ask",[97],"noopener","_self",", so\nsome agents may run ",[55,101,63],{}," and others don’t.",[104,105,106],"pre",{},[107,108,109,58,114,119,120,123,124,58,127,58,131,58,135,140,141,58,145,58,149,154,155,123,157,162,123,164,168,170],"code",{},[28,110,90],{"className":111},[112,113],"token","command",[28,115,118],{"className":116},[112,117],"reporter","turtles"," [",[121,122],"br",{},"  ",[28,125,14],{"className":126},[112,113],[28,128,130],{"className":129},[112,117],"xcor",[28,132,134],{"className":133},[112,117],">",[28,136,139],{"className":137},[112,138],"number","0"," [ ",[28,142,144],{"className":143},[112,113],"set",[28,146,148],{"className":147},[112,117],"color",[28,150,153],{"className":151},[112,152],"constant","blue"," ]",[121,156],{},[28,158,161],{"className":159},[112,160],"comment",";; turtles in the right half of the world",[121,163],{},[28,165,167],{"className":166},[112,160],";; turn blue",[121,169],{},"]",[51,172,173,174,182,183,191],{},"See also ",[88,175,177],{"displayText":176,"permalink":176},"ifelse",[21,178,176],{"className":179,"dataDisplayText":176,"href":180,"rel":181,"target":98,"title":176},[94],"/dictionary#ifelse",[97],", ",[88,184,186],{"displayText":185,"permalink":185},"ifelse-value",[21,187,185],{"className":188,"dataDisplayText":185,"href":189,"rel":190,"target":98,"title":185},[94],"/dictionary#ifelse-value",[97],".",{"title":193,"searchDepth":194,"depth":195,"links":196},"",5,3,[197],{"id":19,"depth":195,"text":198,"children":199},"\nif\n\n1.0\n",[200],{"id":38,"depth":201,"text":202},4,"if boolean  commands","Documentation for the if primitive.","md",{"source":206,"metadataOutputPath":207,"projectConfig":208,"language":215,"inheritFrom":224,"output":223,"version":209,"layout":225,"dictionaryDisplayName":226,"dictionaryHomeDirectory":227,"indexFileURI":228,"currentItemId":14,"currentItemLabel":14,"primRoot":229,"icon":230,"assetsRoot":231},"autogen/dict/if.md","content/dict/if.metadata.yaml",{"version":209,"projectRoot":191,"scanRoot":210,"outputRoot":211,"defaults":212,"engine":218,"partials":219,"dedupeIdenticalDiskWrites":223},"7.0.4","autogen","content",{"inheritFrom":213,"language":215,"output":216,"extension":204,"title":217,"version":209},[214],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":220,"extensions":221},[191],[222,204],"mustache",true,[214],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/if",{"title":5,"description":203},"dict/if","-m7ACxXQVvgRQBCivUsgwbtOKQglaCToXuYhpQoA6n0",[237,242],{"title":238,"path":239,"stem":240,"description":241},"NetLogo Dictionary: hubnet-send-watch","/dict/hubnet-send-watch","dict/hubnet-send-watch","Documentation for the hubnet-send-watch primitive.",{"title":243,"path":244,"stem":245,"description":246},"NetLogo Dictionary: ifelse","/dict/ifelse","dict/ifelse","Documentation for the ifelse primitive.",1777657814818]