hasProperty

fun hasProperty(propertyName: String): Boolean(source)

Determines if this object has defined a property with the given name.

Return

True if this object has defined a property with the given name, false otherwise.

Parameters

propertyName

The name of the property to check for.

See also