none
On this page

none

Function

Whether no element of a fixed-size array passes the test: none(xs, (x) => x < 0.), the negation of any(xs, pred).

The signature and the sentence under each name are the compiler's own text at commit 26de7be8.

Syntax

declare function none<T>(xs: array<T>, pred: (x: T) => bool): bool

Parameters

Return value

bool

Description

Unrolled into one call per element, stopping at the first that passes.

See also

Edit this page Report a problem