[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] Collection.includes query



I dont understand this:

ServerOptions.devices
-> [ Built-in Microphone, Built-in Input, Built-in Output, JackRouter ]

ServerOptions.devices.detect { |d| d == "JackRouter" }.notNil
-> true

ServerOptions.devices.includes("JackRouter")
-> false

How come includes in the last interpretation return false?

/Anton

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/