@anio-js-foundation/unwrap-primitive-value
v2.0.0
Published
Unwrap value from a primitive object.
Downloads
10
Readme
@anio-js-foundation/unwrap-primitive-value
Unwrap value from a primitive object.
import unwrapPrimitiveValue from "@anio-js-foundation/unwrap-primitive-value"
// prints "string" (not "object")
console.log(typeof unwrapPrimitiveValue(new String("abc")))