eventdispatcher.js in TypeScript
Minor refactor of anyTruthy and anyFalsy and added tests for those functions.