Skip to content

Instantly share code, notes, and snippets.

@reidev275
Last active February 25, 2020 18:26
Show Gist options
  • Save reidev275/910eae1e2fe01813c50aa1f62d966e50 to your computer and use it in GitHub Desktop.
Save reidev275/910eae1e2fe01813c50aa1f62d966e50 to your computer and use it in GitHub Desktop.
type JobPosting {
manager: string;
salary: number;
}
const filter: Filter<JobPosting> =
and(
equals("manager", "Bob Slydell"),
greater("salary", 50000)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment