Allowing a property to allow any integer or a specific string

I have a concept with a property that I want to be any integer or the keyword "all". So when the user fills in the value of the corresponding node in the sandbox, it should only allow an integer or "all".

Right now I can only make it be an integer or a specific string but not both.

I checked out creating primitive declarations but I do not see any way of creating a type that allows integers and a specific string.

How can I achieve this?

1 comment

Please sign in to leave a comment.