Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

skava / exotic   js

Repository URL to install this package:

Version: 2.0.8 

/ src / types / obj / cast / toObjOf.ts

// https://github.com/ramda/ramda/blob/master/src/objOf.js
import { curry } from '../../../deps'

const _objOf = (key: string | number, value: any) => ({ [key]: value })
const toObjOf = curry(2, _objOf)

export { toObjOf }
export default toObjOf