It will fail because he is not able to get his output from his function, to plug in to the casting node.