FindPlanet(q:Expr):Int

Find planet. The expression q is evaluated for each planet, as if within a ForEach loop. If it returns true, the function returns that planet's Id. If no planet matches, the return value is EMPTY.

This function is (almost) equivalent to Find(Planet, q, Id).

Since: PCC 1.0.11, PCC2 1.99.9

See also: Find, Elementary Functions