Lingua-e
← Glossary

What does "void" mean in programming?

void is one of the most common terms in software development. This guide explains what it means, how it is used in practice, and why it matters, with real examples from the developer world.

Definition

In TypeScript, void is a type that represents a function that does not return a meaningful value. A function annotated as void may still return undefined.

Example

"function logMessage(msg: string): void { console.log(msg); }"

Related terms

Ready to practice your English at work?

Lingua-e has interactive exercises built around real developer conversations: standups, code reviews, retrospectives, and more. Practice until it comes naturally.

Try Lingua-e for free