Skip to main content
Module

x/rambda/source/always-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {always} from 'rambda'
describe('R.always', () => { it('happy', () => { const fn = always('foo') fn // $ExpectType (...args: unknown[]) => string const result = fn() result // $ExpectType string })})