---
name: "canIUse"
mode: "kit"
versionRequirements:
  - { name: "BaseKit", version: "3.15.1" }
platform:
  - "iOS"
  - "Android"
async: true
---

## canIUse

> [VERSION] BaseKit >= 3.15.1

> [PLATFORM] iOS, Android

> ⚡ **Supports Promise** — Returns a Promise when success / fail / complete callbacks are omitted.

### Description

Determine whether the API, callbacks, parameters, etc. are available in the current version.

### Parameters

`Params`

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `schema` | `string` | Yes | - | Call using ${API}.${method}.${param}.${option} |

### Examples

#### Demo

```tsx
import { canIUse } from '@ray-js/ray'

const result = canIUse("ty.getSystemInfo");
console.log("canIUse ty.getSystemInfo:", result);
```
