| 24 | } |
| 25 | |
| 26 | Value HasPropertyWithUint32(const CallbackInfo& info) { |
| 27 | Object obj = info[0].UnsafeAs<Object>(); |
| 28 | Number jsKey = info[1].As<Number>(); |
| 29 | return Boolean::New(info.Env(), |
| 30 | MaybeUnwrapOr(obj.Has(jsKey.Uint32Value()), false)); |
| 31 | } |
| 32 | |
| 33 | Value HasPropertyWithCppStyleString(const CallbackInfo& info) { |
| 34 | Object obj = info[0].UnsafeAs<Object>(); |
nothing calls this directly
no test coverage detected