Quick helper module
This commit is contained in:
1 parent
99a3b57cf6
commit
836beda422
1 file changed
+6
@@ -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
|
||||||
|
}
|
||||||
Reference in new issue
Block a user