Metakit / @doeixd/metakit/aggregates
any
function · packages/metakit/src/aggregates.ts:435
function any<S extends Schema.Top>(
rowSchema: S,
build: (
$: PathAccessor<S['Type'], S['Type']>,
) => ExprInput<S['Type'], boolean | null>,
): Any<S['Type']>Semilattice aggregate: true when some row's predicate is true (false when empty). A row whose predicate refuses refuses the whole only where no row holds.