Check App Test Environment

Check App Test Environment - kintone.app.isTestEnvironment()

Checks if the App is in a test environment.

Function

kintone.app.isTestEnvironment()

Parameters

None

Returns

A Promise object.
The following values can be retrieved when the Promise object is fulfilled:

Type Description
Boolean The current App's status as a preview App
  • true: A preview App
  • false: Not a preview App

Available Pages

Desktop

  • Record List
  • Record Create
  • Record Edit
  • Record Details
  • Record Print
  • Graph

Mobile

  • Record List
  • Record Create
  • Record Edit
  • Record Details
  • Graph