Function isString

  • It will determine whether the provided value is a string or not.

    Parameters

    • value: unknown

    Returns value is string

    Since

    1.0.0

    Example

    isString("foo");
    // => true

    Example

    isString(2);
    // => false