Skip to content

Commit

Permalink
[collections] small change
Browse files Browse the repository at this point in the history
  • Loading branch information
exilon committed Mar 22, 2020
1 parent f86ec3e commit 1cb8428
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Quick.Collections.pas
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,9 @@ procedure TXList<T>.AddRange(const Collection: TEnumerable<T>);
fList.AddRange(Collection);
end;

function TXList<T>.Any(const aMatchString: string;
aUseRegEx: Boolean): Boolean;
function TXList<T>.Any(const aMatchString: string; aUseRegEx: Boolean): Boolean;
begin

Result := Where(aMatchString,aUseRegEx).Any;
end;

function TXList<T>.Any: Boolean;
Expand Down

0 comments on commit 1cb8428

Please sign in to comment.