Closed llamux closed 7 months ago
Currently the trpc empty pattern only works with arrays and throws an error when null or undefined is passed. Checking the array length after checking null and undefined fixes the error.
empty
LGTM, Thank you for your contribution 🤘
Currently the trpc
empty
pattern only works with arrays and throws an error when null or undefined is passed. Checking the array length after checking null and undefined fixes the error.