Skip to main content

MLPlayer.PropertyExists(string key)

Checks if a custom property is defined. This does not guarantee that the value of the property is valid.

Parameters:

NameTypeDescription
keystringthe name of the property

Returns:

typeDescription
booleanTrue if the property is defined.

Usage

---@type MLPlayer
local mlplayer;

---@type string
local key;


local val0 = mlplayer.PropertyExists(key)