"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

//#region src/words/article.ts
/**
* @file Indefinite-article picker — `determineArticle()` returns `'a'` or
*   `'an'` based on the leading vowel of a word.
*/
/**
* Determine the appropriate article (a/an) for a word.
*
* @example
*   ;```typescript
*   determineArticle('apple') // 'an'
*   determineArticle('banana') // 'a'
*   ```
*/
/*@__NO_SIDE_EFFECTS__*/
function determineArticle(word) {
	return /^[aeiou]/i.test(word) ? "an" : "a";
}

//#endregion
exports.determineArticle = determineArticle;