Skip to content

Commit

Permalink
Merge pull request #482 from joelverhagen/linq-single
Browse files Browse the repository at this point in the history
Fix Linq.Single with predicate
  • Loading branch information
yanghuan authored Jan 6, 2024
2 parents 9bd944b + d0a4076 commit 60b04e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CSharp.lua/CoreSystem.Lua/CoreSystem/Collections/Linq.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ local function single(source, ...)
found = true
end
end
if foun then return true, result end
if found then return true, result end
return false, 0
end
end
Expand Down

0 comments on commit 60b04e9

Please sign in to comment.