The function attachInterrupt in spark_wiring_interrupts.cpp of 0.4.9 FW returns value of type bool
. However, in the reference online document https://docs.particle.io/reference/firmware/photon/#attachinterrupt-, it says The function does not return anything.
Request Particle to update the online reference document if this observation is correct.
Thanks.