Loading homepage
Validate a record against a set of property predicates. A record conforms only when every required own property exists and passes its predicate.
Input: conformsTo({ age: 24 }, { age: n => n >= 18 }) Output: true
Input: conformsTo({ age: 12 }, { age: n => n >= 18 }) Output: false
Implement the exported function in index.js or index.ts. See requirements for edge cases.