Skip to content

Commit baf9a76

Browse files
author
itper
committed
Update README.md
function
1 parent 7992b13 commit baf9a76

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,12 @@
9696
*
9797
* __undercoser模板技术__
9898
*
99-
* __widget__
99+
* __widget__
100+
*
101+
* __isFunction__ 类型判断
102+
*
103+
```javascript
104+
function isFunction(func) {
105+
return Object.prototype.toString.call(func) === '[object Function]'
106+
}
107+
```

0 commit comments

Comments
 (0)