Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular-ui/ui-router
/ isJsonLike
Function
isJsonLike
test/angular/1.3/angular.js:8649–8652 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
8647
}
8648
8649
function
isJsonLike(str) {
8650
var
jsonStart = str.match(JSON_START);
8651
return
jsonStart && JSON_ENDS[jsonStart[0]].test(str);
8652
}
8653
8654
/**
8655
* Parse headers into key value object
Callers
1
defaultHttpResponseTransform
Function · 0.70
Calls
1
match
Method · 0.80
Tested by
no test coverage detected