Clear Up
SharpKit Reference

JsObjectBase.hasOwnProperty Method (JsString)

Returns a Boolean value indicating whether an object has a property with the specified name.

Namespace: SharpKit.JavaScript

Class: JsObjectBase


public virtual JsBoolean hasOwnProperty(JsString proName)


Type: SharpKit.JavaScript.JsString
String value of a property name.

Return Value

Type: SharpKit.JavaScript.JsBoolean
true if object has a property of the specified name, false if it does not. This method does not check if the property exists in the object's prototype chain; the property must be a member of the object itself.
© Copyright 2005-2011 SharpKit. All rights reserved.