orIfInvalid

open fun orIfInvalid(alternativePosition: Position): Position(source)

Return

If this position is valid, this. Otherwise, if the alternativePosition is valid, return that. Otherwise, just return this.