adds $pkg alias

This commit is contained in:
Ollie Taylor
2023-02-24 13:32:10 +00:00
parent b74f1c15fb
commit 3ac7346cdd
4 changed files with 6 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
export function isBoolean(value: any): value is boolean {
return typeof value === 'boolean';
}
export function isNumber(value: any): value is number {
return typeof value === 'number' && !isNaN(value);
}