Skip to main content
Module

x/rambda/test-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {test} from 'rambda'
const input = 'foo 'const regex = /foo/
describe('R.test', () => { it('happy', () => { const result = test(regex, input)
result // $ExpectType boolean }) it('curried', () => { const result = test(regex)(input)
result // $ExpectType boolean })})