export namespace Utilities{ export function isFunction(obj) { return obj !== undefined && obj !== null && !!(obj && obj.constructor && obj.call && obj.apply); } }