Quick helper module

This commit is contained in:
shockrah committed 2025-04-24 20:45:34 -07:00
1 parent 99a3b57cf6
commit 836beda422
1 file changed
+6
+6
View File
@@ -0,0 +1,6 @@
export function values_present(values: any[]) : boolean {
/**
* Function determines if there are any undefined or null values present
*/
return values.filter((val) => val === undefined || val === null).length > 0
}