matthewp / corset-site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Explain get() as a progression

matthewp opened this issue · comments

Update the docs to explain the progression of get()s signatures:

  • get(value, fn) derives a value using a function.
  • get(value, prop) is sugar for get(value, ${value => value[prop]})
  • get(prop) is sugar for get(item(), prop)