Likecoder
https://www.nuget.org/packages/Likecoder/
https://www.nuget.org/packages/Likecoder.Linq/
DateTime, DateTimeOffset
DateTime.UtcNow.IsTrue() // true
DateTime.MinValue.IsFalse() // true
DateTime.UtcNow.ToUnixTimestamp()
string, short, int, long, double, decimal, bool, List, IList, IEnumerable, IQueryable
"123".IsTrue() // true
" ".IsFalse() // true
"1234567".Left(3) // "123"
"xyz91is".Right(4) // "91is"
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());
var keyword="1";
var list=new List<string>{"1","2","1", "", " "};
list.WhereTrue(); // {"1","2","1"}
list.WhereFalse(); // {"", " "}