Method in collections::list · List coil-stdlib

List::is_empty

pub fn is_empty() -> bool
Import
use collections::list::{List};
Source: src/collections/list.hy

Returns true when the list has no values.

Called on a List value as value.is_empty(…).

Returns#

bool

See also#

↑ ↓ navigate ↵ open