Function isSymbol

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

    Parameters

    • value: unknown

    Returns value is symbol

    Since

    1.0.0

    Example

    isSymbol("foo");
    // => false

    Example

    isSymbol(Symbol());
    // => true