IsObject()

AutoHotkey GUI

IsObject() [v1.0.90+]

Returns a non-zero number if the specified value is an object.

TrueOrFalse := IsObject(ObjectValue)

Parameters

ObjectValue

A object stored in a variable, returned from a function, stored in another object or written directly.

Return Value

This function returns 1 if ObjectValue is an object; otherwise 0.

Related

Objects

Examples

object := {key: "value"}

if IsObject(object)
    MsgBox, This is an object.
else
    MsgBox, This is not an object.