Types prefixed by a ?

In various snippets of Verse code I’ve seen formal argument and return value types prefixed with a question mark. E.g. ?creative_prop in SpawnProp. I cannot find out what it means. Firstly please tell me, and secondly can this explanation be added to the Verse Language Reference pages.

Thank
Andre

There are a couple uses of the ? character in the Verse language.

Option types (ex: Prop:?creative_prop):

Optional named function parameters (ex: MyFunc(?Y:int = 5):void):

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.