• Checks if value is classified as a Symbol primitive or object.

    Parameters

    • value: any

      The value to check.

    Returns value is symbol

    Returns true if value is correctly classified, else false.

    _.isSymbol(Symbol.iterator);
    // => true

    _.isSymbol('abc');
    // => false