July 30, 2021

Answer to Collections Q4

mountainSet
   detect: [:each | each = 'Ben Nevis']
   ifNone: [Dialog warn: 'Ben Nevis was not found']

 

Back to « Collection Questions 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Up to top of page