Skip to content

isSymbol

Basic usage

Pass in a value and get a boolean telling you if the value is a Symbol.

import { isSymbol } from 'radash'
isSymbol('hello') // => false
isSymbol(Symbol('hello')) // => true