Skip to content

Instantly share code, notes, and snippets.

@WimJongeneel
Created December 29, 2019 13:56
Show Gist options
  • Save WimJongeneel/40a5acd71ef815c6a7b9f8e570a4f402 to your computer and use it in GitHub Desktop.
Save WimJongeneel/40a5acd71ef815c6a7b9f8e570a4f402 to your computer and use it in GitHub Desktop.
fromArray<Blog>([
{ Id: 1, Title: 'Blog 1' },
{ Id: 2, Title: 'Blog 2' },
{ Id: 3, Title: 'Blog 3' },
])
.where(b => b.Id.equals(1).and(b.Title.includes('hello')))
.toArray()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment