Add isset() to express?

In PHP you can do
if( isset($var) ) { ... }

In JavaScript you often use
if( typeof var != 'undefined' ) { ... }
for similar functionality.

It would be great to have this functionality built into express by default, to clean up the code a little bit.

What do you guys think?

Author: Fantashit

1 thought on “Add isset() to express?

Comments are closed.