This message was deleted.
# general
s
This message was deleted.
b
You can't directly.. but what you can do is possibly this:
Copy code
myOutputString.apply(outputAsString => {
  if (outputAsString === "Potato") {
    // stuff you can do if Output<string> is a Potato
  }
})
the apply function allows you to perform operations on the value of the Output<string> once it becomes resolved - i.e. operate on it as a string. That can't happen outside that resolution function 🙂