original_string: public static function falsey($check, array $falseyValues = [])
      {
          if (!$falseyValues) {
              $falseyValues = [false, 0, '0'];
          }
  
          return in_array($check, $falseyValues, true);
      }
code: public static function falsey($check, array $falseyValues = [])
      {
          if (!$falseyValues) {
              $falseyValues = [false, 0, '0'];
          }
  
          return in_array($check, $falseyValues, true);
      }
code_tokens: public static function falsey ( $ check , array $ falseyValues = [ ] ) { if ( ! $ falseyValues ) { $ falseyValues = [ false , 0 , '0' ] ; } return in_array ( $ check , $ falseyValues , true ) ; }
docstring: Validates if given value is falsey.
  
  The list of what is considered to be falsey values, may be set via $falseyValues.
  
  @param bool|int|string $check Value to check.
  @param array $falseyValues List of valid falsey values, defaults to `[false, 0, '0']`.
  @return bool Success.
docstring_tokens: Validates if given value is falsey .