Hacker News new | ask | show | jobs
by jackdaniel 1485 days ago
It is more like:

(caller_capabilities[WHATEVER_CAPABILITY])(...);

when the capability is not present, then you get no_method_found or something similar.