'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = isString;


/**
 * determines whether `val` is of type string.
 * @name isString
 * @param {*} val value to test.
 * @returns {boolean}
 * @example
 * ```js
 *  isString('') // => true
 *  isString(4) // => false
 * ```
 */
function isString(val) {
  return typeof val === 'string';
}