Studio ASSIGN/IF logic failing to branch on REST response

Trying to branch based on a REST call status code in Studio. The ASSIGN action stores the code, but the IF block always hits the default. Here’s the snippet:

ASSIGN: statusCode = GetRESTProxy("GetOrder").StatusCode
IF: statusCode == 200
 THEN: SetDisposition("Success")
 ELSE: SetDisposition("Fail")

It’s evaluating to false even when the debug log shows 200. Is there a type mismatch I’m missing?