Liferay.Loader.define('site-navigation-item-selector-web$lodash-es@4.17.15/_castFunction', ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    import identity from './identity.js';

    /**
     * Casts `value` to `identity` if it's not a function.
     *
     * @private
     * @param {*} value The value to inspect.
     * @returns {Function} Returns cast function.
     */
    function castFunction(value) {
      return typeof value == 'function' ? value : identity;
    }

    export default castFunction;
  }
});
//# sourceMappingURL=_castFunction.js.map