'isDefined' utility function
Checks if a variable contains a value of any type. Returns true even for otherwise 'falsey' values of 0, '', and false.
// value - the value to check // { boolean } - false if undefined or null, otherwise true
'isDefined' utility function
Checks if a variable contains a value of any type. Returns true even for otherwise 'falsey' values of 0, '', and false.
// value - the value to check // { boolean } - false if undefined or null, otherwise true