For the complete documentation index, see llms.txt. This page is also available as Markdown.

isType

⚠️ Not implemented in the current OSL CLI. Use .getType() instead.

Description

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

Learn more about types here: Types

Parameters

isType takes one string for the type.

Usage

val = 16

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

Last updated