{
  "template": [
    "2iyza9rkkm1pgl2c",
    "2iyza7ekkm2stknj"
  ],
  "rows": {
    "2iyza9rkkm1pgl2c": {
      "id": "2iyza9rkkm1pgl2c",
      "template": [
        "2iyza9rkkm1pgmf8",
        "2iyza9rkkm1pgwzx"
      ],
      "containers": {
        "2iyza9rkkm1pgmf8": {
          "id": "2iyza9rkkm1pgmf8",
          "field": {
            "type": "heading",
            "data": {
              "value": "engine.get.platform"
            }
          }
        },
        "2iyza9rkkm1pgwzx": {
          "id": "2iyza9rkkm1pgwzx",
          "field": {
            "type": "paragraph",
            "data": {
              "value": "this api returns a platform the app is running on it can be pc or mobile if running on the browser or electron/cordova if the app is running as a app or static if the app is running on veganaStatic engine. it can take any one of those platforms as a parameter and return a boolean indicating if it is that platform or if no parameter is given it will return the platform it is running on.\n\nthe available platforms are pc, mobile, cordova, electron and static. "
            }
          },
          "style": {
            "width": "90%"
          }
        }
      }
    },
    "2iyza7ekkm2stknj": {
      "id": "2iyza7ekkm2stknj",
      "template": [
        "2iyza7ekkm2stlnb"
      ],
      "containers": {
        "2iyza7ekkm2stlnb": {
          "id": "2iyza7ekkm2stlnb",
          "field": {
            "type": "code",
            "data": {
              "value": "\n\n//platform is mobile\n\n//this returns true\nlet isMobile = engine.get.platform(\"mobile\");\n\n//this returns \"mobile\"\nlet platform = engine.get.platform();\n"
            }
          },
          "style": {
            "width": "90%"
          }
        }
      }
    }
  },
  "title": "Vegana Api : Engine Get Platform",
  "discription": "this api returns platform the app is running on.",
  "keywords": "vegana,api,engine,get,platform"
}