$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

User06/01/2026
!!exec $objectSet[name;Mido] $ObjectKeyExists[name]
Custom Command Bot 06/01/2026
true
User06/01/2026
!!exec $objectSet[username;mido] $ObjectKeyExists[name]
Custom Command Bot 06/01/2026
false
Function Difficulty: Easy
Tags: Object Key