We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Optionals are supported like so:
@JSFunction func foo() throws(JSException) -> String? // ✅
but this does not work with objects:
@JSClass struct Foo { @JSGetter var id: String } @JSFunction func foo() throws(JSException) -> Foo? // ❌
Optionals are supported like so:
but this does not work with objects: