Загрузка страницы

Higher Order Guards (Functions) - TypeScript Narrowing #6

The sixth video in our TypeScript Narrowing series. In this video, we cover Higher Order Guards (higher order functions for type guards).

📚 Read the article: https://www.lucaspaganini.com/academy/higher-order-guards-narrowing-6
🚨 Subscribe to the newsletter: https://www.lucaspaganini.com/newsletter

📧 Email: me@lucaspaganini.com
🐦 Twitter: https://twitter.com/lucaspaganini
📸 Instagram: https://www.instagram.com/lucaspaganini/

----------

CHAPTERS
0:00 Introduction
1:10 Higher Order Functions
2:27 Higher Order Guards
2:56 makeIsNot Implementation
3:37 makeIsNot Signature
3:53 Type Guard Function Type
4:11 Predicate Function Type
4:39 Unpack Predicate Function Type
5:23 Back to the Signature
5:55 Library
6:36 Conclusion

RELATED
1. TypeScript CONDITIONAL TYPES - Introduction to Type Functions: https://youtu.be/N-GWQKjgnnQ
2. TypeScript INFER Keyword - With Examples: https://youtu.be/TGGNWcXx9wQ
3. TypeScript Narrowing Series: https://www.youtube.com/watch?v=EoPubc1u5IY&list=PLLbNB9i2QOKMgZN0qkSaXqq1SIRs-mU7X
4. TypeScript Narrowing Part 1 - What is a Type Guard: https://youtu.be/EoPubc1u5IY
5. TypeScript Narrowing Part 2 - Type Guard Operators: https://youtu.be/ZdMfiVK7fcM
6. TypeScript Narrowing Part 3 - Custom Type Guards: https://youtu.be/FvSaID3TjhI
7. TypeScript Narrowing Part 4 - Discriminated Unions or Tagged Unions Types: https://youtu.be/o0v7lJF11Pg
8. TypeScript Narrowing Part 5 - Assertion Functions or Assertion Guards: https://youtu.be/syBjKTOgFfo

REFERENCES
1. Higher Order Functions (Clojure Documentation): https://clojure.org/guides/higher_order_functions#_higher_order_functions
2. Functional Programming - Predicate Functions (Stanford Education): https://dcl-prog.stanford.edu/function-predicate.html
3. TypeScript Utilities Library - @lucaspaganini/ts (Github Repository): https://github.com/LucasPaganini/ts

#typescript #programming #javascript

Видео Higher Order Guards (Functions) - TypeScript Narrowing #6 канала Lucas Paganini
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
12 ноября 2021 г. 0:00:00
00:07:35
Яндекс.Метрика