Sintaks Sugar TypeScript

function getName(name) {    return !!(name.indexOf('John') > -1);}
Horrible Hamster