var test = (options.find(x => x.value === greeting)) // Easiest solution console.log(test?.get('label')) // Without nullsafe operator console.log(test && test.get('label'))