move snabbdom into libs/

This commit is contained in:
Géry Debongnie
2019-03-14 11:30:49 +01:00
parent f08ff9e5c2
commit 027318bb98
85 changed files with 12 additions and 12 deletions
+4
View File
@@ -0,0 +1,4 @@
export const array = Array.isArray;
export function primitive(s: any): s is (string | number) {
return typeof s === 'string' || typeof s === 'number';
}