Trait swc_core::ecma::utils::IsEmpty

pub trait IsEmpty {
    // Required method
    fn is_empty(&self) -> bool;
}
Available on crate features __ecma and __utils only.

Required Methods§

fn is_empty(&self) -> bool

Implementations on Foreign Types§

§

impl<T> IsEmpty for Option<T>
where T: IsEmpty,

§

fn is_empty(&self) -> bool

§

impl<T> IsEmpty for Box<T>
where T: IsEmpty,

§

fn is_empty(&self) -> bool

§

impl<T> IsEmpty for Vec<T>

§

fn is_empty(&self) -> bool

Implementors§