findFloorById

fun findFloorById(floorId: Int?, floors: List<Floor>): Floor?

Finds a floor by its id

Parameters

floorId

the id of the floor

floors

the list of floors