{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "authorityOf",
      "signature": "const authorityOf = function authorityOf(value: string, start: number): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "end",
      "signature": "let end = start;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 17,
      "name": "carriesCredentials",
      "signature": "const carriesCredentials = function carriesCredentials(authority: string): boolean {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "at",
      "signature": "const at = authority.lastIndexOf(CREDENTIAL_AT);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "colon",
      "signature": "const colon = authority.indexOf(CREDENTIAL_COLON);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 25,
      "name": "mark",
      "signature": "let mark = value.indexOf(SCHEME_MARK);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/secrets#file-secrets-core-predicates-credential-predicate-ts",
  "language": "typescript",
  "layer": "infrastructure",
  "name": "credential.predicate.ts",
  "path": "core/predicates/credential.predicate.ts",
  "ref": "anatomy:file-secrets-core-predicates-credential-predicate-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/secrets#folder-secrets-core-predicates",
          "json": "https://banes-lab.com/json/anatomy/secrets/folder-secrets-core-predicates",
          "label": "core/predicates",
          "markdown": "https://banes-lab.com/anatomy/secrets/folder-secrets-core-predicates.md",
          "ref": "chapter:/anatomy/secrets#folder-secrets-core-predicates"
        }
      ],
      "relation": "contained-in"
    }
  ],
  "slots": {
    "concern": "predicate",
    "subject": "credential",
    "variant": null
  },
  "stats": {
    "bytes": 1081,
    "callable": 2,
    "definitions": 6,
    "edges": 0,
    "exported": 0,
    "files": 1,
    "findings": {},
    "flows": {
      "isolated": 6
    },
    "lines": {
      "blank": 3,
      "code": 32,
      "total": 35
    }
  },
  "summary": "32 lines of code and 6 definitions.",
  "text": "https://banes-lab.com/source/secrets/core/predicates/credential.predicate.ts.txt",
  "tree": "secrets",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/secrets#file-secrets-core-predicates-database-predicate-ts",
      "json": "https://banes-lab.com/json/source/secrets/core/predicates/database.predicate.ts",
      "label": "core/predicates/database.predicate.ts",
      "markdown": "https://banes-lab.com/source/secrets/core/predicates/database.predicate.ts.md",
      "ref": "anatomy:file-secrets-core-predicates-database-predicate-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/secrets#file-secrets-core-predicates-character-predicate-ts",
      "json": "https://banes-lab.com/json/source/secrets/core/predicates/character.predicate.ts",
      "label": "core/predicates/character.predicate.ts",
      "markdown": "https://banes-lab.com/source/secrets/core/predicates/character.predicate.ts.md",
      "ref": "anatomy:file-secrets-core-predicates-character-predicate-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/secrets/core/predicates",
    "label": "core/predicates",
    "markdown": "https://banes-lab.com/api/source/secrets/core/predicates.md",
    "ref": "api:source/secrets/core/predicates"
  }
}
