| 17 | } |
| 18 | |
| 19 | Value HasPropertyWithCStyleString(const CallbackInfo& info) { |
| 20 | Object obj = info[0].UnsafeAs<Object>(); |
| 21 | String jsKey = info[1].As<String>(); |
| 22 | return Boolean::New(info.Env(), |
| 23 | MaybeUnwrapOr(obj.Has(jsKey.Utf8Value().c_str()), false)); |
| 24 | } |
| 25 | |
| 26 | Value HasPropertyWithUint32(const CallbackInfo& info) { |
| 27 | Object obj = info[0].UnsafeAs<Object>(); |
nothing calls this directly
no test coverage detected