Skip to content
public-library›Rules›TypeScript›Distinguish null from undefined

Distinguish null from undefined

Use null for a value that is deliberately empty, and undefined, or an omitted property, for a value that was not provided.

In the full rule