isString

Lang
since 0.1.0

Arguments

  • * The value to check.

Returns

boolean `true` if `value` is a string, else `false`.

Checks if value is classified as a String primitive or object.

Example of Lodash _.isString

_.isString('abc');
// => true

_.isString(1);
// => false