deno.land / x / rambda@v9.1.1 / source / isValidAsync-spec.ts

isValidAsync-spec.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
import {isValidAsync} from 'rambda'
describe('R.isValidAsync', () => { it('happy', async() => { const input = {a: ['foo', 'bar']} const schema = {a: ['string']} const result = await isValidAsync({schema, input}) result // $ExpectType boolean })})
rambda

Version Info

Tagged at
2 months ago