FindShip(q:Expr):Int

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

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

Since: PCC 1.0.11, PCC2 1.99.9

See also: Find

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.