ramda APIs
- map
- identity
- isEmpty
- equals
- filter
- isNil
- pipe
- omit
- propOr
- pick
- prop
- reject
- range
- uniq
- chain
- sortBy
- reduce
- compose
- difference
- set
- flatten
- last
- startsWith
- has
- sortWith
- splitEvery
- pathOr
- indexBy
- lensPath
- complement
- ifElse
- head
- join
- zipWith
- union
- find
- includes
- mergeDeepRight
- over
- append
- memoizeWith
- forEach
- pluck
- curry
- times
- transpose
- all
- findLast
- inc
- always
- mergeDeepLeft
- lensProp
- path
- mergeAll
- clone
- toLower
- either
- propSatisfies
- both
- pathSatisfies
- propEq
- add
- trim
- any
- hasIn
- repeat
- adjust
- findIndex
- init
- split
- KeyValuePair
- zip
- indexOf
- toPairs
- groupBy
- countBy
- descend
- concat
- keys
- length
- mergeWith
- pair
- takeWhile
- defaultTo
- uniqBy
- ascend
- sort
Other Related APIs
ramda#clone TypeScript Examples
The following examples show how to use
ramda#clone.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: dashboard.page.ts From radiopanel with GNU General Public License v3.0 | 6 votes |
public fetch(): void {
this.dashboardService.fetch()
.pipe(first())
.subscribe((dashboard: any) => {
if (!dashboard) {
this.dashboard = [];
this.configurations = [];
return;
}
this.dashboard = clone(dashboard.data || []);
this.configurations = clone(dashboard.data || []).map((dashboard) => dashboard.configuration) || [];
});
}