Mac Developer Library

Developer

WebKit Framework Reference WebUndefined Class Reference

Options
Deployment Target:

On This Page
Language:

WebUndefined

WebUndefined objects are simply used to represent the JavaScript “undefined” value in methods when bridging between JavaScript and Objective-C. For example, if you invoke a JavaScript function that returns the JavaScript “undefined” value, then a WebUndefined object is returned to the Objective-C calling context.

Inheritance


Conforms To


Import Statement


import WebKit @import WebKit;

Availability


Available in OS X v10.3.9 and later.
  • Returns the shared WebUndefined instance.

    Declaration

    Objective-C

    + (WebUndefined *)undefined

    Import Statement

    Availability

    Available in OS X v10.3.9 and later.