Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
//isFalseOrNull.js
/*global adventurejs A*/ 

/**
 * A simple function to check whether a value is === false or null.
 * @method adventurejs.Game#isFalseOrNull
 * @memberOf adventurejs.Game
 * @param {*} value 
 * @returns {Boolean}
 */
adventurejs.isFalseOrNull = function Adventurejs_isFalseOrNull(value) {
  return ( false === value || null === value );
};