Notification objects aren't excecuted when picked randomly?

I was using .pickRandom like this

var array = ["stuff", 2, true, "more stuff"]
var randompicker = array.pickRandom()