Skip to main content
Module

x/rambda/tail-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {tail} from 'rambda'
describe('R.tail', () => { it('with string', () => { const result = tail('foo')
result // $ExpectType string }) it('with list', () => { const result = tail([1, 2, 3])
result // $ExpectType readonly number[] })})