swc_
core
9.0.2
IsEmpty
Required Methods
is_empty
Implementations on Foreign Types
Box<T>
Option<T>
Vec<T>
Implementors
In swc_
core::
ecma::
utils
swc_core
::
ecma
::
utils
Trait
IsEmpty
Copy item path
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
§
§
impl
IsEmpty
for
Stmt
§
impl
IsEmpty
for
BlockStmt
§
impl
IsEmpty
for
CatchClause