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

isType-spec.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
import {isType} from 'rambda'
describe('R.isType', () => { it('happy', () => { const result = isType('String', 'foo') result // $ExpectType boolean }) it('curried', () => { const result = isType('RegExp')(/foo/g) result // $ExpectType boolean })})
rambda

Version Info

Tagged at
2 months ago