swc_ecma_utils

Trait IsEmpty

Source
pub trait IsEmpty {
    // Required method
    fn is_empty(&self) -> bool;
}

Required Methods§

Source

fn is_empty(&self) -> bool

Implementations on Foreign Types§

Source§

impl IsEmpty for Stmt

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for BlockStmt

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for CatchClause

Source§

fn is_empty(&self) -> bool

Source§

impl<T> IsEmpty for Vec<T>

Source§

fn is_empty(&self) -> bool

Source§

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

Source§

fn is_empty(&self) -> bool

Source§

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

Source§

fn is_empty(&self) -> bool

Implementors§