PropertyExists
7/14/25Less than 1 minute
MLPlayer.PropertyExists(string key)
Checks if a custom property is defined. This does not guarantee that the value of the property is valid.
Parameters:
| Name | Type | Description |
|---|---|---|
| key | string | the name of the property |
Returns:
| type | Description |
|---|---|
| boolean | True if the property is defined. |
Usage
---@type MLPlayer
local mlplayer;
---@type string
local key;
local val0 = mlplayer.PropertyExists(key)
