Skip to main content
Module

x/rambda/clamp-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {clamp} from 'rambda'
describe('R.clamp', () => { it('happy', () => { const result = clamp(1, 10, 20) result // $ExpectType number })})