Clear Up
SharpKit Reference

JsObjectBase.isPrototypeOf Method (object)

Returns a Boolean value indicating whether an object exists in another object's prototype chain.

Namespace: SharpKit.JavaScript

Class: JsObjectBase

Syntax

public virtual JsBoolean isPrototypeOf(object object2)

Parameters

object2
Type: System.Object
Another object whose prototype chain is to be checked.

Return Value

Type: SharpKit.JavaScript.JsBoolean
true if object2 has object1 in its prototype chain. The prototype chain is used to share functionality between instances of the same object type. The isPrototypeOf method returns false when object2 is not an object or when object1 does not appear in the prototype chain of the object2.
© Copyright 2005-2011 SharpKit. All rights reserved.