MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / isJsonLike

Function isJsonLike

lib/test/angular/1.4.3/angular.js:9256–9259  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

9254}
9255
9256function isJsonLike(str) {
9257 var jsonStart = str.match(JSON_START);
9258 return jsonStart && JSON_ENDS[jsonStart[0]].test(str);
9259}
9260
9261/**
9262 * Parse headers into key value object

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected