Versie 0.2.0
This commit is contained in:
commit
e77d8fd373
495 files changed
+81026
No files matched your search
@@ -0,0 +1,7 @@
|
||||
// Generated, do not edit. sha256:2f66375ae83caf2754cb28e585e1e0f78a5f72502aadfc7743433f4d0f72c85c
|
||||
const DIAKRITISCH = /\p{Diacritic}/gu;
|
||||
|
||||
export function toSearchName(value) {
|
||||
if (value === null || value === undefined) return '';
|
||||
return String(value).normalize('NFD').replace(DIAKRITISCH, '').toLowerCase().trim();
|
||||
}
|
||||
Reference in new issue
Block a user