app/pb_kits/playbook/utilities/text.ts in playbook_ui-13.34.1 vs app/pb_kits/playbook/utilities/text.ts in playbook_ui-14.0.0.pre.alpha.PA1477timestampkit3502
- old
+ new
@@ -1,5 +1,7 @@
-import { filter, isEmpty } from 'lodash'
+import { filter } from 'lodash'
+
+const isEmpty = (value: string | unknown): boolean => !value || value == ''
const titleizedWord = (word: string): string => (
word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()
)