deno.land / x / rambda@v9.1.1 / source / split-spec.ts
123456789101112131415161718import {split} from 'rambda'
const str = 'foo|bar|baz'const splitChar = '|'
describe('R.split', () => { it('happy', () => { const result = split(splitChar, str)
result // $ExpectType string[] }) it('curried', () => { const result = split(splitChar)(str)
result // $ExpectType string[] })})
Version Info