Jint.Native.JsFunction.HasInstance C# (CSharp) Method

HasInstance() public method

public HasInstance ( JsObject inst ) : bool
inst JsObject
return bool
        public virtual bool HasInstance(JsObject inst)
        {
            if (inst != null && inst != JsNull.Instance && inst != JsNull.Instance) {
                return this.PrototypeProperty.IsPrototypeOf(inst);
            }
            return false;
        }