Web Weekly #188 (#blogPost)
A weekly newsletter covering CSS sticky spec changes, JavaScript 2026 features, TypeScript assertion functions, and tech tools like pretext.
A weekly newsletter covering CSS sticky spec changes, JavaScript 2026 features, TypeScript assertion functions, and tech tools like pretext.
Explains the difference between TypeScript type guards and assertion functions with code examples.
A tutorial explaining how to implement and use user-defined type guards in TypeScript to conditionally apply logic based on variable types.
A guide to using type predicates and helper functions in TypeScript to safely check for object properties and narrow types.
Explains TypeScript type predicates, which narrow down variable types within functions using conditional checks.