Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular-ui/ui-router
/ isJsonLike
Function
isJsonLike
test/angular/1.4/angular.js:9731–9734 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
9729
}
9730
9731
function
isJsonLike(str) {
9732
var
jsonStart = str.match(JSON_START);
9733
return
jsonStart && JSON_ENDS[jsonStart[0]].test(str);
9734
}
9735
9736
/**
9737
* Parse headers into key value object
Callers
1
defaultHttpResponseTransform
Function · 0.70
Calls
1
match
Method · 0.80
Tested by
no test coverage detected