Skip to main content
Module

x/rambda/source/isValid-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {isValid} from 'rambda'
describe('R.isValid', () => { it('happy', () => { const input = {a: ['foo', 'bar']} const schema = {a: ['string']} const result = isValid({schema, input}) result // $ExpectType boolean })})