Likecoder.Linq NuGet Package

1、WhereIf()
var keyword="1";
var list=new List<string>{"1","2","1"};
list.WhereIf(x=>x==keyword, keyword);
// or
list.WhereIf(x=>x==keyword, keyword.IsTrue());
2、WhereTrue() or WhereFalse()
var keyword="1";
var list=new List<string>{"1","2","1", "", " "};
list.WhereTrue(); // {"1","2","1"}
list.WhereFalse(); // {"", " "}.




Got any Likecoder.Linq Question?





Info

Version: 0.1.0
Author(s): Daxia
Last Update: Sunday, May 5, 2019
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/shenjielx/Likecoder
NuGet Url: https://www.nuget.org/packages/Likecoder.Linq


Install
Install-Package Likecoder.Linq
dotnet add package Likecoder.Linq
paket add Likecoder.Linq
Likecoder.Linq Download (Unzip the "nupkg" after downloading)





STATS

must-have-score

.3

avg-downloads-per-day

0

days-since-last-release

2197