Custom Command
FunctionsObject Functions

$objectKeyExists

Checks if given key is present in the object. Returns true or false.

Usage

$objectKeyExists[Key;...]
  1. Key(s) - Key to check it's existence. You can put as many nested keys as needed.

Example

Using $objectKeyExists

How to check if name key exists

Member
9/5/2026

!!exec $objectSet[name;Mido] $objectKeyExists[name]

Custom Command
APP
9/5/2026

true

Member
9/5/2026

!!exec $objectSet[username;mido] $objectKeyExists[name]

Custom Command
APP
9/5/2026

false

Related Functions: $objectKeys $objectCreate $objectSet

Function Difficulty: Easy

Tags: Object Key

On this page