deno.land / x / rambda@v9.1.1 / source / head.spec.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
import { head } from './head.js'
test('head', () => { expect(head([ 'fi', 'fo', 'fum' ])).toBe('fi') expect(head([])).toBeUndefined() expect(head('foo')).toBe('f') expect(head('')).toBe('')})
rambda

Version Info

Tagged at
2 months ago