Skip to content

v2.13.1: Adds utility function for checking emptiness

Choose a tag to compare

@thorewi thorewi released this 17 Jun 06:09
· 19 commits to master since this release
Adds a utility function that provides a more reliable way to determine if a variable is considered "empty".

The native `empty()` function treats '0' and 0 as empty, which is often not the desired behavior. The new function `realEmpty()` addresses this by explicitly checking for these cases.