// getVerb.js
(function () {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Dictionary.prototype;
/**
* A method to get a dictionary verb object from a verb name string.
* @memberOf adventurejs.Dictionary
* @method adventurejs.Dictionary#getVerb
* @param {String} verb
* @returns {object}
*/
p.getVerb = function (verb) {
if ("string" !== typeof verb) return false;
return this.verbs[verb] || null;
};
})();