| 12 | } |
| 13 | |
| 14 | Value HasOwnPropertyWithNapiWrapperValue(const CallbackInfo& info) { |
| 15 | Object obj = info[0].UnsafeAs<Object>(); |
| 16 | Name key = info[1].As<Name>(); |
| 17 | return Boolean::New(info.Env(), |
| 18 | MaybeUnwrapOr(obj.HasOwnProperty(key), false)); |
| 19 | } |
| 20 | |
| 21 | Value HasOwnPropertyWithCStyleString(const CallbackInfo& info) { |
| 22 | Object obj = info[0].UnsafeAs<Object>(); |
nothing calls this directly
no test coverage detected