does such code exist??

http://playground.arduino.cc/Code/Function