help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

is function handle?


From: John W. Eaton
Subject: is function handle?
Date: Fri, 29 Oct 2010 14:19:54 -0400

On 29-Oct-2010, Fotios Kasolis wrote:

| Thanks John.
| I tried isa (fun, “function handle”) and obviously it did not work.

It's not my choice to include the uderscore...

Matlab returns function_handle for class (@sin), so we have to as
well.

Also, typeinfo is normally intended for internal use and debugging, so
maybe we should discourage its use by renaming it __typeinfo__ like
other similar functions.  If you want to know what class an object is,
you should use the class function.

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]