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

Function isJsonLike

test/angular/1.5/angular.js:10886–10889  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

10884}
10885
10886function isJsonLike(str) {
10887 var jsonStart = str.match(JSON_START);
10888 return jsonStart && JSON_ENDS[jsonStart[0]].test(str);
10889}
10890
10891/**
10892 * Parse headers into key value object

Callers 1

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected