Home
last modified time | relevance | path

Searched refs:hasOwn (Results 1 - 24 of 24) sorted by relevance

/third_party/node/test/parallel/
H A Dtest-child-process-validate-stdio.js21 assert.strictEqual(Object.hasOwn(result, 'stdio'), true);
22 assert.strictEqual(Object.hasOwn(result, 'ipc'), true);
23 assert.strictEqual(Object.hasOwn(result, 'ipcFd'), true);
H A Dtest-error-serdes.js77 assert.strictEqual(Object.hasOwn(cycle(new Error('Error with cause', { cause: undefined })), 'cause'), true);
81 assert.strictEqual(Object.hasOwn(cycle(errorWithThrowingCause), 'cause'), false);
82 assert.strictEqual(Object.hasOwn(cycle(errorWithCyclicCause), 'cause'), true);
85 assert.strictEqual(Object.hasOwn(cycle(new ErrorWithThowingCause('Error with cause')), 'cause'), false);
H A Dtest-whatwg-url-properties.js104 Object.hasOwn(value, 'prototype'),
119 Object.hasOwn(get, 'prototype'),
129 Object.hasOwn(set, 'prototype'),
H A Dtest-assert-calltracker-calls.js101 assert.strictEqual(Object.hasOwn(callsfunc, 'length'), false);
122 assert.strictEqual(Object.hasOwn(callsfunc, 'length'), true);
H A Dtest-stream2-basic.js425 assert(Object.hasOwn(R.prototype, 'readableEncoding'));
433 assert(Object.hasOwn(R.prototype, 'readableObjectMode'));
441 assert(Object.hasOwn(W.prototype, 'writableObjectMode'));
H A Dtest-fs-statfs.js12 assert.ok(Object.hasOwn(statfs, k));
H A Dtest-http-client-default-headers-exist.js44 assert(Object.hasOwn(expectedHeaders, req.method),
H A Dtest-cluster-dgram-1.js75 if (Object.hasOwn(cluster.workers, key))
H A Dtest-cluster-dgram-bind-fd.js66 if (Object.hasOwn(cluster.workers, key))
H A Dtest-cluster-basic.js147 assert(Object.hasOwn(arguments[0], 'fd'));
/third_party/jsframework/runtime/main/util/
H A Dprops.js2 import { hasOwn } from '../../utils/index';
24 if (!hasOwn(prop, 'default')) {
H A Dshared.js60 export function hasOwn(obj, prop) {
/third_party/jsframework/runtime/main/reactivity/
H A Dobserver.js10 hasOwn,
111 if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
191 if (hasOwn(obj, key)) {
222 if (!hasOwn(obj, key)) {
H A Dstate.js10 hasOwn
45 if(hasOwn(options, 'mixins')) {
/third_party/node/deps/npm/node_modules/promise-retry/
H A Dindex.js6 var hasOwn = Object.prototype.hasOwnProperty;
9 return err && err.code === 'EPROMISERETRY' && hasOwn.call(err, 'retried');
/third_party/node/deps/npm/node_modules/is-core-module/
H A Dindex.js3 var hasOwn = require('hasown'); variable
68 return hasOwn(data, x) && versionIncluded(nodeVersion, data[x]);
/third_party/node/benchmark/http/
H A Dcheck_invalid_header_char.js58 if (Object.hasOwn(groupedInputs, input)) {
/third_party/node/deps/npm/node_modules/nopt/lib/
H A Dnopt-lib.js5 const hasOwn = (o, k) => Object.prototype.hasOwnProperty.call(o, k)
8 let hasType = hasOwn(types, k)
316 if (!hasType && hasOwn(data, arg)) {
/third_party/node/deps/undici/src/lib/fetch/
H A Dutil.js1094 * Fetch supports node >= 16.8.0, but Object.hasOwn was added in v16.9.0.
1096 const hasOwn = Object.hasOwn || ((dict, key) => Object.prototype.hasOwnProperty.call(dict, key))
1130 hasOwn,
H A Dwebidl.js4 const { hasOwn, toUSVString } = require('./util')
349 if (!hasOwn(dictionary, key)) {
358 const hasDefault = hasOwn(options, 'defaultValue')
/third_party/node/benchmark/es/
H A Dmap-bench.js75 has(key) { return Object.hasOwn(m, `$${key}`); },
/third_party/node/test/common/
H A Dreport.js74 assert(Object.hasOwn(report, section));
/third_party/node/deps/undici/
H A Dundici.js1739 var hasOwn = Object.hasOwn || ((dict, key) => Object.prototype.hasOwnProperty.call(dict, key));
1772 hasOwn,
1795 var { hasOwn, toUSVString } = require_util2();
2006 if (!hasOwn(dictionary, key)) {
2014 const hasDefault = hasOwn(options, "defaultValue");
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]

Completed in 44 milliseconds