// isDirection.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Dictionary.prototype;
/**
* Is this a direction?
* @memberOf adventurejs.Dictionary
* @method adventurejs.Dictionary#isDirection
* @param {String} word A string to be evaluated.
* @returns {Boolean}
*/
p.isDirection = function Dictionary_isDirection( word )
{
return this.getDirection(word) !== false;
}
}());