Array with buffer data

I have created an Array ~b0Data, that contains each sample value of Buffer ~b0. Now I would like to create another Array ~b0ZeroIndex, that contains the indices of all elements in ~b0Data, that are = 0. But I cannot find the appropriate method to do so. Could anyone show me the correct way? Thank you in advance for your help! Best regards Rainer

~b0ZeroIndex = ~b0Data.indicesOfEqual(0);

see: SequenceableCollection | SuperCollider 3.12.2 Help

Best,
Paul

Hello Paul! Great thanks! Works perfekt, best regards from Austria, Rainer