Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ isEndOfSentenceSymbol
Function
isEndOfSentenceSymbol
lib/web/CodeMirror/keymap/vim.js:441–443 ·
view source on GitHub ↗
(k)
Source
from the content-addressed store, hash-verified
439
return
(/^\s*$/).test(k);
440
}
441
function
isEndOfSentenceSymbol(k) {
442
return
'.?!'
.indexOf(k) != -1;
443
}
444
function
inArray(val, arr) {
445
for
(
var
i = 0; i < arr.length; i++) {
446
if
(arr[i] == val) {
Callers
2
forward
Function · 0.85
reverse
Function · 0.85
Calls
1
indexOf
Method · 0.80
Tested by
no test coverage detected