Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ManningBooks/essential-typescript-5
/ functions
Functions
329 in github.com/ManningBooks/essential-typescript-5
⨍
Functions
329
◇
Types & classes
246
↓ 15 callers
Method
get
(name: string)
Chapter 12/End of Chapter/types/src/index.ts:8
↓ 11 callers
Method
add
(...newItems: T[])
Chapter 12/End of Chapter/types/src/index.ts:7
↓ 6 callers
Method
updateContent
()
Chapter 17/End of Chapter/webapp/src/htmlDisplay.tsx:32
↓ 4 callers
Method
getCategories
()
Chapter 18/angularapp/src/app/data/dataSource.ts:49
↓ 4 callers
Method
getData
()
Chapter 18/angularapp/src/app/data/dataSource.ts:30
↓ 4 callers
Method
getProducts
(sortProp: ProductProp = "id", category? : string)
Chapter 18/angularapp/src/app/data/dataSource.ts:25
↓ 4 callers
Method
getTodoItems
(includeComplete: boolean)
Chapter 02/todo/src/todoCollection.ts:28
↓ 4 callers
Method
selectProducts
(prods: Product[], sortProp: ProductProp, category?: string)
Chapter 18/angularapp/src/app/data/dataSource.ts:41
↓ 3 callers
Method
addProduct
(product: SportsProduct, quantity: number)
Chapter 15/End of Chapter/usingjs/src/cart.ts:22
↓ 3 callers
Method
addProduct
(product: SportsProduct, quantity: number)
Chapter 15/Beginning of Chapter/usingjs/src/cart.ts:22
↓ 3 callers
Function
calculateTax
(amount: number)
Chapter 09/Beginning of Chapter/types/src/index.ts:1
↓ 3 callers
Function
promptUser
()
Chapter 02/todo/src/index.ts:53
↓ 3 callers
Method
storeTasks
()
Chapter 02/todo/src/jsonTodoCollection.ts:45
↓ 3 callers
Method
total
(selections : ProductSelection[])
Chapter 21/End of Chapter/reactapp/src/data/entities.ts:15
↓ 3 callers
Method
updateContent
()
Chapter 16/webapp/src/htmlDisplay.tsx:23
↓ 3 callers
Method
updateContent
()
Chapter 17/Beginning of Chapter/webapp/src/htmlDisplay.tsx:23
↓ 3 callers
Function
writeMessage
(message)
Chapter 15/End of Chapter/usingjs/src/formatters.js:20
↓ 3 callers
Function
writeMessage
(message: string)
Chapter 15/End of Chapter/usingjs/src/tsFormatters.ts:13
↓ 3 callers
Function
writePrice
(product: string, price: number)
Chapter 09/Beginning of Chapter/types/src/index.ts:5
↓ 2 callers
Function
addChild
(elem: HTMLElement, child: any)
Chapter 16/webapp/src/tools/jsxFactory.ts:4
↓ 2 callers
Function
addChild
(elem: HTMLElement, child: any)
Chapter 17/End of Chapter/webapp/src/tools/jsxFactory.ts:4
↓ 2 callers
Function
addChild
(elem: HTMLElement, child: any)
Chapter 17/Beginning of Chapter/webapp/src/tools/jsxFactory.ts:4
↓ 2 callers
Function
calculateTax
(price)
Chapter 04/primer/tax.js:1
↓ 2 callers
Method
getItemCounts
()
Chapter 02/todo/src/todoCollection.ts:48
↓ 2 callers
Method
getPrice
()
Chapter 14/decorators/src/product.ts:24
↓ 2 callers
Method
getTodoById
(id: number)
Chapter 02/todo/src/todoCollection.ts:24
↓ 2 callers
Function
makeObject
(constructor: T, ...args: ConstructorParameters<T>)
Chapter 13/End of Chapter/types/src/index.ts:3
↓ 2 callers
Function
message
(message: string)
Chapter 14/decorators/src/multiples.ts:1
↓ 2 callers
Function
sum
(...vals: number[])
Chapter 06/End of Chapter/tools/src/calc.ts:1
↓ 2 callers
Function
time
(config? : Config)
Chapter 14/decorators/src/methodDecorator.ts:16
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
Chapter 18/angularapp/src/app/data/entities.ts:28
↓ 1 callers
Method
addProduct
(selections : ProductSelection[], product: Product, quantity: number)
Chapter 21/End of Chapter/reactapp/src/data/entities.ts:27
↓ 1 callers
Method
addProduct
(selections : ProductSelection[], product: Product, quantity: number)
Chapter 21/Beginning of Chapter/reactapp/src/data/entities.ts:27
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
Chapter 16/webapp/src/data/entities.ts:28
↓ 1 callers
Method
addProduct
(selections : ProductSelection[], product: Product, quantity: number)
Chapter 20/reactapp/src/data/entities.ts:27
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
Chapter 19/End of Chapter/angularapp/src/app/data/entities.ts:28
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
Chapter 19/Beginning of Chapter/angularapp/src/app/data/entities.ts:28
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
Chapter 17/End of Chapter/webapp/src/data/entities.ts:28
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
Chapter 17/Beginning of Chapter/webapp/src/data/entities.ts:28
↓ 1 callers
Method
addTodo
(task: string)
Chapter 02/todo/src/todoCollection.ts:16
↓ 1 callers
Function
applyDiscount
(product, discount = 5)
Chapter 04/primer/utils.js:8
↓ 1 callers
Function
calculatePrice
(quantity: 1 | 2, price: number)
Chapter 09/End of Chapter/types/src/index.ts:1
↓ 1 callers
Function
calculateTax
(amount: number | null)
Chapter 08/End of Chapter/types/src/index.ts:7
↓ 1 callers
Function
calculateTax
(amount)
Chapter 08/Beginning of Chapter/types/src/index.ts:1
↓ 1 callers
Function
checkNumber
(val: any)
Chapter 08/End of Chapter/types/src/index.ts:1
↓ 1 callers
Function
costFormatter
(thing, cost)
Chapter 15/End of Chapter/usingjs/src/formatters.js:12
↓ 1 callers
Function
displayData
()
Chapter 16/webapp/src/index.ts:7
↓ 1 callers
Function
displayData
()
Chapter 17/End of Chapter/webapp/src/index.ts:8
↓ 1 callers
Function
displayData
()
Chapter 17/Beginning of Chapter/webapp/src/index.ts:7
↓ 1 callers
Function
displayTodoList
()
Chapter 02/todo/src/index.ts:13
↓ 1 callers
Method
getCategories
()
Chapter 19/End of Chapter/angularapp/src/app/data/dataSource.ts:49
↓ 1 callers
Method
getCategories
()
Chapter 19/Beginning of Chapter/angularapp/src/app/data/dataSource.ts:49
↓ 1 callers
Method
getCategoryButton
(cat?: string)
Chapter 16/webapp/src/categoryList.tsx:18
↓ 1 callers
Method
getCategoryButton
(cat?: string)
Chapter 17/End of Chapter/webapp/src/categoryList.tsx:18
↓ 1 callers
Method
getCategoryButton
(cat?: string)
Chapter 17/Beginning of Chapter/webapp/src/categoryList.tsx:18
↓ 1 callers
Function
getCityString
(city: cities)
Chapter 09/End of Chapter/types/src/index.ts:17
↓ 1 callers
Method
getContent
()
Chapter 16/webapp/src/domDisplay.ts:10
↓ 1 callers
Method
getContent
()
Chapter 16/webapp/src/htmlDisplay.tsx:18
↓ 1 callers
Method
getContent
()
Chapter 17/End of Chapter/webapp/src/htmlDisplay.tsx:27
↓ 1 callers
Method
getContent
()
Chapter 17/End of Chapter/webapp/src/header.tsx:11
↓ 1 callers
Method
getContent
()
Chapter 17/Beginning of Chapter/webapp/src/domDisplay.ts:10
↓ 1 callers
Method
getContent
()
Chapter 17/Beginning of Chapter/webapp/src/htmlDisplay.tsx:18
↓ 1 callers
Method
getData
()
Chapter 19/End of Chapter/angularapp/src/app/data/dataSource.ts:30
↓ 1 callers
Method
getData
()
Chapter 19/Beginning of Chapter/angularapp/src/app/data/dataSource.ts:30
↓ 1 callers
Method
getDetails
()
Chapter 14/decorators/src/product.ts:16
↓ 1 callers
Method
getElementText
()
Chapter 16/webapp/src/domDisplay.ts:18
↓ 1 callers
Method
getElementText
()
Chapter 17/End of Chapter/webapp/src/domDisplay.ts:18
↓ 1 callers
Method
getElementText
()
Chapter 17/Beginning of Chapter/webapp/src/domDisplay.ts:18
↓ 1 callers
Method
getListContent
(products: Product[], categories: string[])
Chapter 17/End of Chapter/webapp/src/htmlDisplay.tsx:56
↓ 1 callers
Method
getProducts
(sortProp: ProductProp = "id", category? : string)
Chapter 19/End of Chapter/angularapp/src/app/data/dataSource.ts:25
↓ 1 callers
Method
getProducts
(sortProp: ProductProp = "id", category? : string)
Chapter 19/Beginning of Chapter/angularapp/src/app/data/dataSource.ts:25
↓ 1 callers
Method
loadProducts
()
Chapter 18/angularapp/src/app/data/remoteDataSource.ts:24
↓ 1 callers
Method
loadProducts
()
Chapter 16/webapp/src/data/localDataSource.ts:6
↓ 1 callers
Method
loadProducts
()
Chapter 19/End of Chapter/angularapp/src/app/data/remoteDataSource.ts:27
↓ 1 callers
Method
loadProducts
()
Chapter 19/Beginning of Chapter/angularapp/src/app/data/remoteDataSource.ts:24
↓ 1 callers
Method
loadProducts
()
Chapter 17/End of Chapter/webapp/src/data/localDataSource.ts:6
↓ 1 callers
Method
loadProducts
()
Chapter 17/Beginning of Chapter/webapp/src/data/localDataSource.ts:6
↓ 1 callers
Method
markComplete
(id: number, complete: boolean)
Chapter 02/todo/src/todoCollection.ts:33
↓ 1 callers
Function
printDetails
(product)
Chapter 04/primer/utils.js:3
↓ 1 callers
Method
printDetails
()
Chapter 02/todo/src/todoItem.ts:9
↓ 1 callers
Function
printMessage
(msg: string)
Chapter 05/tools/src/index.ts:3
↓ 1 callers
Function
printMessage
(msg: string)
Chapter 06/End of Chapter/tools/src/index.ts:3
↓ 1 callers
Function
printMessage
(msg: string)
Chapter 06/Beginning of Chapter/tools/src/index.ts:3
↓ 1 callers
Method
productCount
(selections: ProductSelection[])
Chapter 21/End of Chapter/reactapp/src/data/entities.ts:20
↓ 1 callers
Method
productCount
(selections: ProductSelection[])
Chapter 21/Beginning of Chapter/reactapp/src/data/entities.ts:20
↓ 1 callers
Method
productCount
(selections: ProductSelection[])
Chapter 20/reactapp/src/data/entities.ts:20
↓ 1 callers
Function
promptAdd
()
Chapter 02/todo/src/index.ts:28
↓ 1 callers
Function
promptComplete
()
Chapter 02/todo/src/index.ts:38
↓ 1 callers
Method
removeComplete
()
Chapter 02/todo/src/todoCollection.ts:40
↓ 1 callers
Method
removeProduct
(id: number)
Chapter 18/angularapp/src/app/data/entities.ts:40
↓ 1 callers
Method
removeProduct
(id: number)
Chapter 16/webapp/src/data/entities.ts:40
↓ 1 callers
Method
removeProduct
(id: number)
Chapter 19/End of Chapter/angularapp/src/app/data/entities.ts:40
↓ 1 callers
Method
removeProduct
(id: number)
Chapter 19/Beginning of Chapter/angularapp/src/app/data/entities.ts:40
↓ 1 callers
Method
removeProduct
(id: number)
Chapter 17/End of Chapter/webapp/src/data/entities.ts:40
↓ 1 callers
Method
removeProduct
(id: number)
Chapter 17/Beginning of Chapter/webapp/src/data/entities.ts:40
↓ 1 callers
Function
reportWebVitals
(onPerfEntry?: ReportHandler)
Chapter 21/End of Chapter/reactapp/src/reportWebVitals.ts:3
↓ 1 callers
Function
reportWebVitals
(onPerfEntry?: ReportHandler)
Chapter 21/Beginning of Chapter/reactapp/src/reportWebVitals.ts:3
↓ 1 callers
Function
reportWebVitals
(onPerfEntry?: ReportHandler)
Chapter 20/reactapp/src/reportWebVitals.ts:3
↓ 1 callers
Function
resetSelections
(selections: ProductSelection[])
Chapter 21/End of Chapter/reactapp/src/data/selectionSlice.ts:14
↓ 1 callers
Method
selectProducts
(prods: Product[], sortProp: ProductProp, category?: string)
Chapter 19/End of Chapter/angularapp/src/app/data/dataSource.ts:41
next →
1–100 of 329, ranked by callers