✍🏿Get the exact type of a value
npm add micro-typeof
import typeOf from 'micro-typeof'; typeOf([0, 1]) // array typeOf({ name: 'Ademola' }) // object typeOf(Symbol('foo') // symbol typeOf(() => {}) // function
MIT
ooade
Back