What do the question mark (?
) and colon (:
) mean?
((OperationURL[1] == "GET") ? GetRequestSignature() : "")
In the particular case you've provided, it's a conditional assignment. The part before the question mark (?) is a boolean condition, and the parts either side of the colon (:) are the values to assign based on the result of the condition (left side of the colon is the value for true, right side is the value for false).