MCPcopy Create free account

hub / github.com/PacktPublishing/Hands-On-Functional-Programming-with-Typescript / functions

Functions217 in github.com/PacktPublishing/Hands-On-Functional-Programming-with-Typescript

↓ 16 callersMethodmap
(fn: (val: T) => TMap)
chapters/chapter_07_category_theory/04_either.ts:37
↓ 15 callersFunctionadd
(foo: number, bar: number, foobar: number = 0)
chapters/chapter_02_mastering_functions/06_rest_parameters.ts:3
↓ 14 callersMethodget
(o: T1)
chapters/chapter_08_optics_immutability_laziness/02_lenses.ts:30
↓ 13 callersFunctionfn
()
chapters/chapter_03_mastering_async_programming/07_async_await.ts:5
↓ 12 callersMethodset
(o: T2, v: T1)
chapters/chapter_08_optics_immutability_laziness/02_lenses.ts:31
↓ 12 callersMethodvalue
()
chapters/chapter_05_closures_and_prototypes/05_closures.ts:37
↓ 10 callersMethodjoin
()
chapters/chapter_07_category_theory/05_monads.ts:55
↓ 9 callersMethodget
(o: T1)
chapters/chapter_08_optics_immutability_laziness/03_prisms.ts:45
↓ 7 callersMethodmap
(fn: (val: T) => TMap)
chapters/chapter_07_category_theory/03_maybe.ts:21
↓ 7 callersMethodmap
(fn: (val: T) => TMap)
chapters/chapter_07_category_theory/05_monads.ts:43
↓ 6 callersFunctionadd
(foo: number, bar: number, foobar: number)
chapters/chapter_02_mastering_functions/04_optional_parameters.ts:3
↓ 6 callersMethodfind
(filter: (item: T) => boolean)
chapters/chapter_01_fp_fundamentals/04_immutability.ts:30
↓ 5 callersMethodset
(a: T2, o: T1)
chapters/chapter_08_optics_immutability_laziness/03_prisms.ts:46
↓ 4 callersMethod_deepCloneItem
(item: T)
chapters/chapter_01_fp_fundamentals/04_immutability.ts:5
↓ 4 callersFunctionadd
(a: number, b: number)
chapters/chapter_06_fp_techniques/02_partial_application.ts:3
↓ 4 callersMethodchain
(fn: (val: T) => TMap)
chapters/chapter_07_category_theory/05_monads.ts:59
↓ 4 callersFunctionchangeBy
(val: number)
chapters/chapter_05_closures_and_prototypes/05_closures.ts:91
↓ 4 callersFunctioncompose
( f: (x: T2) => T3, g: (x: T1) => T2)
chapters/chapter_06_fp_techniques/02_partial_application.ts:48
↓ 4 callersFunctioncompose
(f: (x: T) => T, g: (x: T) => T)
chapters/chapter_06_fp_techniques/01_composition.ts:17
↓ 4 callersFunctionfoo
()
chapters/chapter_02_mastering_functions/09_function_scope.ts:3
↓ 4 callersFunctionfunc
()
chapters/chapter_03_mastering_async_programming/09_for_await_of.ts:9
↓ 4 callersMethodincrement
()
chapters/chapter_05_closures_and_prototypes/05_closures.ts:29
↓ 4 callersMethodof
(val?: TVal)
chapters/chapter_07_category_theory/05_monads.ts:27
↓ 4 callersFunctiontest
(value: (string|number|boolean))
chapters/chapter_02_mastering_functions/07_function_overloading.ts:6
↓ 3 callersFunctionavg
(arr: Result[])
chapters/chapter_01_fp_fundamentals/03_declarative_vs_imperative.ts:14
↓ 3 callersFunctionbar
(b: number)
chapters/chapter_04_the_event_loop_and_this_operator/02_event_loop.ts:8
↓ 3 callersFunctiondoSomethingAsync
()
chapters/chapter_03_mastering_async_programming/08_asynchronous_generators.ts:5
↓ 3 callersFunctionfind
(arr: T[], filter: (i: T) => boolean)
chapters/chapter_01_fp_fundamentals/06_first_class_citizens.ts:3
↓ 3 callersMethodmap
(fn: (val: T) => TMap)
chapters/chapter_07_category_theory/02_applicative.ts:15
↓ 3 callersMethodof
(val: TVal)
chapters/chapter_07_category_theory/04_either.ts:27
↓ 3 callersFunctiontrimAndCapitalize
(s: string)
chapters/chapter_06_fp_techniques/01_composition.ts:6
↓ 2 callersMethod_changeBy
(val: number)
chapters/chapter_05_closures_and_prototypes/05_closures.ts:41
↓ 2 callersMethodadd
(listener: Listener<T>)
chapters/chapter_09_functional_reactive_programming/01_observer.ts:17
↓ 2 callersFunctionaddDelay
(msg: string, ms: number)
chapters/chapter_01_fp_fundamentals/09_higher_order_functions.ts:3
↓ 2 callersFunctionbar
(cb: () => void)
chapters/chapter_03_mastering_async_programming/01_callbacks_and_higher_order_functions.ts:7
↓ 2 callersFunctioncompose
( f: (x: T2) => T3, g: (x: T1) => T2)
chapters/chapter_06_fp_techniques/03_currying.ts:37
↓ 2 callersFunctioncompose
( f: (x: T2) => T3, g: (x: T1) => T2)
chapters/chapter_06_fp_techniques/04_strinct_bind.ts:12
↓ 2 callersFunctioncomposeLens
( ab: Lens<A, B>, bc: Lens<B, C> )
chapters/chapter_08_optics_immutability_laziness/02_lenses.ts:87
↓ 2 callersFunctioncomposeMany
(...functions: Array<(arg: T) => T>)
chapters/chapter_06_fp_techniques/01_composition.ts:74
↓ 2 callersFunctioncomposePrism
(ab: Prism<A, B>, bc: Prism<B, C>)
chapters/chapter_08_optics_immutability_laziness/03_prisms.ts:49
↓ 2 callersFunctioncurry2
(fn: (a: T1, b: T2) => T3)
chapters/chapter_06_fp_techniques/03_currying.ts:3
↓ 2 callersMethoddecrement
()
chapters/chapter_05_closures_and_prototypes/05_closures.ts:33
↓ 2 callersFunctiondoSomethingAsync
(arr: number[])
chapters/chapter_03_mastering_async_programming/04_promises.ts:24
↓ 2 callersFunctiondoSomethingAsync
(arr: number[])
chapters/chapter_03_mastering_async_programming/07_async_await.ts:16
↓ 2 callersFunctiondoSomethingElseAsync
(arr: number[])
chapters/chapter_03_mastering_async_programming/07_async_await.ts:32
↓ 2 callersFunctiondoSomethingMoreAsync
(arr: number[])
chapters/chapter_03_mastering_async_programming/07_async_await.ts:48
↓ 2 callersFunctionfilter
(f: (item: T) => boolean)
chapters/chapter_08_optics_immutability_laziness/04_laziness.ts:52
↓ 2 callersFunctionfindUserAgeByName
(users: User[], name: string)
chapters/chapter_01_fp_fundamentals/02_side_effects.ts:8
↓ 2 callersFunctionfoo
()
chapters/chapter_03_mastering_async_programming/06_generators.ts:3
↓ 2 callersFunctionfoo
(a: number)
chapters/chapter_04_the_event_loop_and_this_operator/02_event_loop.ts:3
↓ 2 callersFunctiong2
()
chapters/chapter_03_mastering_async_programming/10_delegating_to_a_generator.ts:9
↓ 2 callersMethodgreet
()
chapters/chapter_03_mastering_async_programming/02_arrow_functions.ts:8
↓ 2 callersMethodgreetDelay
(time: number)
chapters/chapter_03_mastering_async_programming/02_arrow_functions.ts:30
↓ 2 callersFunctionisEligibleToVote
(person: Person)
chapters/chapter_06_fp_techniques/06_point_fee_style.ts:14
↓ 2 callersFunctionisIndexPage
()
chapters/chapter_01_fp_fundamentals/01_pure_vs_inpure.ts:2
↓ 2 callersMethodisNothing
()
chapters/chapter_07_category_theory/05_monads.ts:39
↓ 2 callersFunctioniterateOnMultiples
(arr: number[], divisor: number)
chapters/chapter_09_functional_reactive_programming/02_iterator.ts:3
↓ 2 callersFunctionmakeCounter
()
chapters/chapter_05_closures_and_prototypes/05_closures.ts:144
↓ 2 callersMethodof
(val: TVal)
chapters/chapter_07_category_theory/02_applicative.ts:5
↓ 2 callersFunctionsafeFindUserAgeByName
(users: User[], name: string)
chapters/chapter_01_fp_fundamentals/02_side_effects.ts:34
↓ 1 callersMethodadd
(newItem: T)
chapters/chapter_01_fp_fundamentals/04_immutability.ts:11
↓ 1 callersFunctionaddMany
(...args: number[])
chapters/chapter_01_fp_fundamentals/03_declarative_vs_imperative.ts:54
↓ 1 callersMethodap
(c: Container<(val: T) => TMap>)
chapters/chapter_07_category_theory/02_applicative.ts:19
↓ 1 callersFunctionboth
( funcA: (a: T1) => boolean, funcB: (a: T1) => boolean )
chapters/chapter_06_fp_techniques/06_point_fee_style.ts:31
↓ 1 callersFunctioncapitalize
(s: string)
chapters/chapter_06_fp_techniques/01_composition.ts:4
↓ 1 callersFunctioncompose3
( f: (x: T3) => T4, g: (x: T2) => T3, h: (x: T1) => T2 )
chapters/chapter_06_fp_techniques/01_composition.ts:48
↓ 1 callersFunctioncurry3
(fn: (a: T1, b: T2, c: T3) => T4)
chapters/chapter_06_fp_techniques/03_currying.ts:43
↓ 1 callersFunctioncurry3
(fn: (a: T1, b: T2, c: T3) => T4)
chapters/chapter_06_fp_techniques/05_pipes.ts:7
↓ 1 callersFunctiondiv
(a: number, b: number)
chapters/chapter_01_fp_fundamentals/03_declarative_vs_imperative.ts:55
↓ 1 callersFunctiondivision
(a: number, b: number)
chapters/chapter_01_fp_fundamentals/03_declarative_vs_imperative.ts:41
↓ 1 callersFunctiondoSomethingAsync
( arr: number[], success: (arr: number[]) => void, error: (e: Error) => void )
chapters/chapter_03_mastering_async_programming/03_callbackhell.ts:3
↓ 1 callersFunctiondoSomethingElseAsync
( arr: number[], success: (arr: number[]) => void, error: (e: Error) => void )
chapters/chapter_03_mastering_async_programming/03_callbackhell.ts:21
↓ 1 callersFunctiondoSomethingElseAsync
(arr: number[])
chapters/chapter_03_mastering_async_programming/04_promises.ts:40
↓ 1 callersFunctiondoSomethingMoreAsync
( arr: number[], success: (arr: number[]) => void, error: (e: Error) => void )
chapters/chapter_03_mastering_async_programming/03_callbackhell.ts:39
↓ 1 callersFunctiondoSomethingMoreAsync
(arr: number[])
chapters/chapter_03_mastering_async_programming/04_promises.ts:56
↓ 1 callersFunctioneither
( funcA: (a: T1) => boolean, funcB: (a: T1) => boolean )
chapters/chapter_06_fp_techniques/06_point_fee_style.ts:26
↓ 1 callersFunctionfactorial
(n: number)
chapters/chapter_06_fp_techniques/07_recursion.ts:3
↓ 1 callersFunctionfetchNews
()
chapters/chapter_07_category_theory/04_either.ts:69
↓ 1 callersFunctionfetchNews
()
chapters/chapter_07_category_theory/03_maybe.ts:60
↓ 1 callersFunctionfind
(f: (item: T) => boolean)
chapters/chapter_08_optics_immutability_laziness/04_laziness.ts:62
↓ 1 callersFunctionfoo
()
chapters/chapter_03_mastering_async_programming/04_promises.ts:3
↓ 1 callersFunctiong1
()
chapters/chapter_03_mastering_async_programming/09_for_await_of.ts:3
↓ 1 callersFunctiong1
()
chapters/chapter_03_mastering_async_programming/10_delegating_to_a_generator.ts:3
↓ 1 callersFunctiong1
()
chapters/chapter_03_mastering_async_programming/08_asynchronous_generators.ts:14
↓ 1 callersMethodgetAge
()
chapters/chapter_04_the_event_loop_and_this_operator/03_this_operator.ts:52
↓ 1 callersMethodgreet
(city: string, country: string)
chapters/chapter_04_the_event_loop_and_this_operator/04_call_bind_apply.ts:13
↓ 1 callersMethodgreet
()
chapters/chapter_05_closures_and_prototypes/03_prototypal_inheritance.ts:14
↓ 1 callersFunctiongreetNamed
(name: string)
chapters/chapter_02_mastering_functions/03_func_declaration_expressions.ts:6
↓ 1 callersFunctiongreetUnnamed
(name: string)
chapters/chapter_02_mastering_functions/03_func_declaration_expressions.ts:10
↓ 1 callersFunctionhtmlEscape
(literals: TemplateStringsArray, ...placeholders: any[])
chapters/chapter_02_mastering_functions/11_tag_function.ts:11
↓ 1 callersMethodincrement
()
chapters/chapter_02_mastering_functions/10_iife.ts:48
↓ 1 callersFunctioninvokeTaskAsync
()
chapters/chapter_03_mastering_async_programming/07_async_await.ts:64
↓ 1 callersFunctionisCitizen
(person: Person)
chapters/chapter_06_fp_techniques/06_point_fee_style.ts:13
↓ 1 callersMethodisNothing
()
chapters/chapter_07_category_theory/03_maybe.ts:17
↓ 1 callersFunctionisOver18
(person: Person)
chapters/chapter_06_fp_techniques/06_point_fee_style.ts:12
↓ 1 callersFunctionlazyFind
(arr: T[], filter: (i: T) => boolean)
chapters/chapter_01_fp_fundamentals/10_lazyness.ts:3
↓ 1 callersFunctionlens
( getter: Prop<T1, K>, setter: Assoc<T1, K>, )
chapters/chapter_08_optics_immutability_laziness/02_lenses.ts:200
↓ 1 callersFunctionmakeArmy
()
chapters/chapter_05_closures_and_prototypes/05_closures.ts:3
↓ 1 callersMethodmap
(fn: (val: T) => TMap)
chapters/chapter_07_category_theory/01_functors.ts:11
↓ 1 callersFunctionmapProp
(k: keyof T, arr: T[])
chapters/chapter_01_fp_fundamentals/03_declarative_vs_imperative.ts:56
next →1–100 of 217, ranked by callers