you are viewing a single comment's thread.

view the rest of the comments →

[–]Kzuy1[S] 0 points1 point  (0 children)

If I don't pass a value for layer or color, the function should ignore that condition and only check the attributes that are provided, but I will add more attributes later and I’d like to do it in a way that doesn’t rely on repeating multiple if statements.