File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -894,6 +894,8 @@ bool v8__Value__IsObject(const v8::Value& self) { return self.IsObject(); }
894894
895895bool v8__Value__IsString (const v8::Value& self) { return self.IsString (); }
896896
897+ bool v8__Value__IsSymbol (const v8::Value& self) { return self.IsSymbol (); }
898+
897899bool v8__Value__IsArray (const v8::Value& self) { return self.IsArray (); }
898900
899901bool v8__Value__IsTypedArray (const v8::Value& self) { return self.IsTypedArray (); }
Original file line number Diff line number Diff line change @@ -485,6 +485,7 @@ bool v8__Value__IsNumber(const Value* self);
485485bool v8__Value__IsNumberObject (const Value * self );
486486bool v8__Value__IsObject (const Value * self );
487487bool v8__Value__IsString (const Value * self );
488+ bool v8__Value__IsSymbol (const Value * self );
488489bool v8__Value__IsArray (const Value * self );
489490bool v8__Value__IsTypedArray (const Value * self );
490491bool v8__Value__IsUint8ClampedArray (const Value * self );
Original file line number Diff line number Diff line change @@ -2113,6 +2113,11 @@ pub const Value = struct {
21132113 return c .v8__Value__IsString (self .handle );
21142114 }
21152115
2116+
2117+ pub fn isSymbol (self : Self ) bool {
2118+ return c .v8__Value__IsSymbol (self .handle );
2119+ }
2120+
21162121 pub fn isFunction (self : Self ) bool {
21172122 return c .v8__Value__IsFunction (self .handle );
21182123 }
You can’t perform that action at this time.
0 commit comments