# Env.DarkMode.getIsDarkMode
Gets whether the current dark mode , this method is called asynchronously.

## Availability description

Permission requirements | View Available Description | Platform is available | scene
---|---|---|---
Readable | All views | - PC<br>- Mobile | Presentation mode

## Input

No need to pass in parameters.

## Output

Returns a Boolean value, true for dark mode, false for non-dark mode

## Example code

### Calling example

```js
const DocMiniApp = new BlockitClient().initAPI();
const isDarkModePromise = await docMiniApp.Env.DarkMode.getIsDarkMode();
console.log('debug', isDarkModePromise);
```

### Return example

```
false
```