Coerces its argument to an Objective-C method selector.
objc
coerce-to-selector method => selector
method⇩ |
A string or selector. |
selector |
A selector. |
The function coerce-to-selector
returns the selector named by method. If method is a string, then the registered selector is found or a new one is registered. Otherwise method should be a foreign pointer of type sel and is returned unchanged.
This is the opposite operation to the function selector-name.
LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 01 Dec 2021 19:38:32