use super::JsValue;
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum Type {
Undefined,
Null,
Boolean,
Number,
String,
Symbol,
BigInt,
Object,
}
impl JsValue {
#[must_use]
#[inline]
pub fn get_type(&self) -> Type {
self.0.get_type()
}
}