Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ygs-code/vue
/ isRegExp
Function
isRegExp
vue.js:91–94 ·
view source on GitHub ↗
(v)
Source
from the content-addressed store, hash-verified
89
}
90
91
function
isRegExp(v) {
92
//判断是否是正则对象
93
return
_toString.call(v) ===
'[object RegExp]'
94
}
95
96
/**
97
* Check
if
val is a valid array index.
Callers
2
matches
Function · 0.85
isUnknownElement$$1
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected