fork download
  1. import std.stdio;
  2. import std.algorithm;
  3.  
  4. void main() {
  5.  
  6. auto a = [3, 5, 8];
  7.  
  8. writeln(find(remove(a, 1), 5).length != 0); // prints false
  9. writeln(a);
  10. }
Success #stdin #stdout 0s 4108KB
stdin
Standard input is empty
stdout
false
[3, 8, 8]