squirrellyjs / squirrelly

Semi-embedded JS template engine that supports helpers, filters, partials, and template inheritance. 4KB minzipped, written in TypeScript ⛺
https://squirrelly.js.org
MIT License
571 stars 81 forks source link

Alternate way of checking if the method exists in the prototype. #194

Closed vinothbabu closed 4 years ago

vinothbabu commented 4 years ago

This condition will always return true since the function is always defined. Did you mean to call it instead?