Question: ListTools:-SearchAll Negative

Let say I have a list like     L := [1, 2, 3, 4, 5, 6, 7, 8, 9, -5, -0.2];
 

Now I want to use the ListTools:-SearchAll() command and return the list index for all the

list element that are negative. I tried ListTools:-SearchAll(x < 0, K);  however that did not work.

The solution could also use a similar and simple command ....
 
 

Please Wait...