NextPrevUpTopContentsIndex

invoke-bool

Function
Summary

Invokes an Objective-C method that returns a BOOL .

Package

objc

Signature

invoke-bool class-or-object-pointer method &rest args => value

Arguments

class-or-object-pointer

A string naming an Objective-C class or a pointer to an Objective-C foreign object.

method

A string naming the method to invoke.

args

Arguments to the method.

Values

value

The value returned by the method.

Description

The function invoke-bool is used to call Objective-C instance and class methods that return the type BOOL . It behaves identically to invoke, except that if the return value is NO then nil is returned, otherwise t is returned.

See also

invoke
invoke-into


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 4 Apr 2005

NextPrevUpTopContentsIndex