isset

Determine if a variable is set and is not NULL

empty-php

Exact replica of the PHP empty function in for JavaScript and TypeScript