I was having a devil of a time trying to figure out how to iterate/loop through records in a section of a character sheet and finally reluctantly went to AI as suggested by Keith some time ago. It really helped me. But I have a question about the symbol ||. Question 1 I thought it was used for "or" in an if statement? But a snippet I get from chatGPT is: let eqName = getAttrByName( charID, `repeating_equipment_${id}_equipment_item` ) || ""; This seems to be using || as an nvl function (in Oracle-ese), i.e. if null or no value fount, use "". Is that a correct interpretation? Question 2 Am I correct in thinking || can be used as an OR in an if statement? For example, if I have a bunch of ELSE IFs: if (eqName.includes("arrow")) { isMissile = "y"; } else if (eqName.includes("bolt")) { isMissile = "y"; } else if (eqName.includes("quarrel")) { isMissile = "y"; } else if (eqName.includes("rock")) { isMissile = "y"; } else if (eqName.includes("bullet")) { isMissile = "y"; } else { isMissile = "n"; } Can I do this, instead? if (eqName.includes("arrow") || (eqName.includes("bolt")) || (eqName.includes("quarrel")) || (eqName.includes("rock")) || (eqName.includes("bullet")) { isMissile = "y"; } else { isMissile = "n"; } Is || more efficient than else if? Thanks. :-)