// isPreposition.js
(function () {
/* global adventurejs A */
var p = adventurejs.Dictionary.prototype;
/**
* Determine whether string is recognized as a preposition.
* @memberOf adventurejs.Dictionary
* @method adventurejs.Dictionary#isPreposition
* @kind function
* @param {String} word
* @returns {String|Boolean}
*/
p.isPreposition = function Dictionary_isPreposition(word) {
return this.prepositions.includes(word);
};
})();