> For the complete documentation index, see [llms.txt](https://osl.mistium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osl.mistium.com/legacy-osl-originos/prototype-helpers/.istype.md).

# isType

> ⚠️ **Not implemented in the current OSL CLI.** Use [`.getType()`](https://github.com/Mistium/OSL-Docs/blob/main/methods/types/.gettype.md) instead.

## Description

isType returns a boolean of if a value is a specific type

Learn more about types here: [Types](/the-language/types.md)

## Parameters

isType takes one string for the type.

## Usage

```javascript
val = 16

log val.isType("number")
// true
```
