text: import { ignoredHashtags } from "./ignored-hashtags.js";
  
  /**
   * Checks whether the hashtag is included in the array of ignoredHashtags.
   *
   * @param {string} string
   * @returns {boolean} Returns `true` if the hashtag received is included in the
   * array of ignoredHashtags. Otherwise, `false`.
   * @see module:ignored-hashtags
   * @example
   *
   * isIgnoredHashtag('EibarFem');
   * // true
   *
   * isIgnoredHashtag('SempreAmunt');
   * // false
   *
   */
  const isIgnoredHashtag = (hashtag) => {
    const lowerCaseHashtag = hashtag.toLowerCase();
  
    return ignoredHashtags.some(
      (ignoredHashtag) => ignoredHashtag.toLowerCase() === lowerCaseHashtag
    );
  };
  
  export { isIgnoredHashtag };
  