Skip to main content
Module

x/rambda/objOf.js

Faster and smaller alternative to Ramda
Go to Latest
File
export function objOf(key, value) { if (arguments.length === 1) { return (_value) => objOf(key, _value) } return { [key]: value }}