{
  "doc": {
    "id": "api/cypress-api/version",
    "title": "Cypress.version | Cypress Documentation",
    "description": "Get the current version of Cypress you are running.",
    "section": "api",
    "source_path": "/llm/markdown/api/cypress-api/version.md",
    "version": "e6988a974973e9090ce70406c38cb2b9e0eac9fa",
    "updated_at": "2026-05-15T15:50:22.536Z",
    "headings": [
      {
        "id": "api/cypress-api/version#cypress-version",
        "text": "Cypress.version",
        "level": 1
      },
      {
        "id": "api/cypress-api/version#syntax",
        "text": "Syntax",
        "level": 2
      },
      {
        "id": "api/cypress-api/version#examples",
        "text": "Examples",
        "level": 2
      },
      {
        "id": "api/cypress-api/version#conditionals",
        "text": "Conditionals",
        "level": 3
      },
      {
        "id": "api/cypress-api/version#see-also",
        "text": "See also",
        "level": 2
      }
    ]
  },
  "chunks": [
    {
      "id": "api/cypress-api/version#examples",
      "doc_id": "api/cypress-api/version",
      "heading": "Examples",
      "heading_level": 2,
      "content_markdown": "## Examples\n\n### Conditionals\n\n```\nconst semver = require('semver')if (semver.gte(Cypress.version, '1.1.3')) {  it('has Cypress.platform', () => {    expect(Cypress.platform).to.be.a('string')  })}\n```\n\n**Hint:** you can use [semver](https://github.com/npm/node-semver#readme) library to work with semantic versions.\n",
      "section": "api",
      "anchors": [
        "examples"
      ],
      "path": "/llm/json/chunked/api/cypress-api/version.json",
      "token_estimate": 41
    }
  ]
}