Skip to content
This repository has been archived by the owner on May 27, 2018. It is now read-only.

unctionjs/recordFrom

Repository files navigation

NOTE: This library has been deprecated in favor of unction/objectFrom

@unction/recordFrom

Tests Stability Dependencies

KeyChain => ValueType => FunctorType

Given a keychain and a value it creates an object that has keys based on the keychain.

recordFrom(["key", "subkey"])("value")

Which returns:

{
  key: {
    subkey: "value"
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published