Skip to content

Commit e1ec200

Browse files
committed
fix(useLocalStorage): New version was not released correctly
1 parent f9ddd85 commit e1ec200

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ export const isObj = (varToCheck: any) =>
1010
export const isNull = (varToCheck: any) =>
1111
checkType(varToCheck) === '[object Null]'
1212

13+
export const isFunction = (varToCheck: any) =>
14+
checkType(varToCheck) === '[object Function]'
15+
1316
export const isUndefined = (varToCheck: any) =>
1417
checkType(varToCheck) === '[object Undefined]'
1518

0 commit comments

Comments
 (0)