Skip to contents

Return first integer greater or equal to initial index, i, such that condition, p, holds

Usage

nexti(i, p)

Arguments

i

initial index

p

A function (named, anonymous or formula).

Value

an integer

Examples

if (FALSE) {
nexti(0, \(i) i == 3)
}