Skip to content

Releases: cape-ookb/cape-lodash

v2.2.0 renameValues createIndex

29 Nov 13:37

Choose a tag to compare

  • renameValues(renameObj)(strArray) - renameObj = { find: 'replace' } Similar to rename but find/replace strings in array.
  • createIndex('id', 'value')(dataArray) - Creates a key/value index from an array of items. It's like _.indexBy but uses the field value of value property instead of the entire item.

v2.1.0

28 Nov 17:28

Choose a tag to compare

Added parseBoolean to check if a string is trying to be true. toBool() will now pass strings to parseBoolean. True words based on webmasterkai/affirmative.