Determine if a value is Callable/Constructible

Domenic Denicola d at domenic.me
Mon Mar 30 17:54:07 UTC 2015


The distinction you're really pointing to here is the distinction between user-generated throwing functions and runtime-generated ones. Both are called. User-generated ones you could edit the source code of and insert a `called = true` line first, whereas runtime-generated ones you could not. But that's not a real material difference in call-ability.



More information about the es-discuss mailing list