Skip to main content
Module

x/rambda/source/toDecimal-spec.ts

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