original_string: public static function isCountable($value): bool
      {
          if (is_array($value)) {
              return true;
          }
  
          if (is_object($value) && ($value instanceof Countable)) {
              return true;
          }
  
          return false;
      }
code: public static function isCountable($value): bool
      {
          if (is_array($value)) {
              return true;
          }
  
          if (is_object($value) && ($value instanceof Countable)) {
              return true;
          }
  
          return false;
      }
code_tokens: public static function isCountable ( $ value ) : bool { if ( is_array ( $ value ) ) { return true ; } if ( is_object ( $ value ) && ( $ value instanceof Countable ) ) { return true ; } return false ; }
docstring: Checks if value is countable
  
  @param mixed $value The value
  
  @return bool
docstring_tokens: Checks if value is countable