...
Parameter name | Type | Required | Description |
---|---|---|---|
user | String | Yes | The username Username or userkey to check the property for |
property | String | yes | The key Key of the property to check |
Return type
boolean
Returns "true" if the user has the given property set, "false" otherwise.
Example
Code Block |
---|
if(hasUserProperty("testuser", "phone")) { return getUserProperty("testuser", "phone"); } |
...