Skip to content

all

const all: (iterable: Iterable<unknown>) => boolean = builtins.all

Defined in: packages/pythonlib/src/index.ts:167

Return True if all elements of the iterable are truthy (or if empty).

Parameters

ParameterTypeDescription
iterableIterable<unknown>The elements to test

Returns

boolean

True if all elements are truthy

See

Python all()