ApplesauceOS
Read Markdown ↗Download .md

classExists

Inspect a local Objective-C class.

js
classExists(name)

Arguments

ArgumentTypeMeaning
namestringClass name.

Returns

Boolean.

Example

js
console.log(classExists("NSString"));

Notes

Start with Objective-C step by step. Use client.hasClass() and proxy.respondsTo() when targeting a remote app.

All JavaScript APIs · Automation playbook