Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter name

Type

Required

Description

user

String

Yes

The username Username or userkey to check the property for

propertyStringyesThe 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");
}

...