Skip to main content
Module

x/rambda/keys-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {keys} from 'rambda'
const obj = {a: 1, b: 2}
describe('R.keys', () => { it('happy', () => { const result = keys(obj) result // $ExpectType readonly ("b" | "a")[] })})