getFirst

open fun getFirst(filter: Predicate<World>): Optional<World>

Gets the first world matching the specified filter

Return

the first world matching the specified filter

Parameters

filter

the world filter


open fun getFirst(worldNumber: Array<Int>): Optional<World>

Gets the first world with one of the specified world numbers

Return

the first world with one of the specified world numbers

Parameters

worldNumber

the world numbers