Home
last modified time | relevance | path

Searched refs:ToBoolean (Results 1 – 15 of 15) sorted by relevance

/third_party/node/deps/npm/node_modules/es-abstract/
Des5.js24 ToBoolean: function ToBoolean(value) {
209 desc['[[Enumerable]]'] = this.ToBoolean(Obj.enumerable);
212 desc['[[Configurable]]'] = this.ToBoolean(Obj.configurable);
218 desc['[[Writable]]'] = this.ToBoolean(Obj.writable);
Des2015.js240 return ES5.ToBoolean(isRegExp);
437 return this.ToBoolean(spreadable);
485 return this.ToBoolean(this.Get(iterResult, 'done'));
/third_party/node/deps/npm/node_modules/es-abstract/test/
Des5.js54 t.equal(false, ES.ToBoolean(undefined), 'undefined coerces to false');
55 t.equal(false, ES.ToBoolean(null), 'null coerces to false');
56 t.equal(false, ES.ToBoolean(false), 'false returns false');
57 t.equal(true, ES.ToBoolean(true), 'true returns true');
59 t.equal(false, ES.ToBoolean(falsyNumber), 'falsy number ' + falsyNumber + ' coerces to false');
62 t.equal(true, ES.ToBoolean(truthyNumber), 'truthy number ' + truthyNumber + ' coerces to true');
64 t.equal(false, ES.ToBoolean(''), 'empty string coerces to false');
65 t.equal(true, ES.ToBoolean('foo'), 'nonempty string coerces to true');
67 t.equal(true, ES.ToBoolean(obj), 'object coerces to true');
69 t.equal(true, ES.ToBoolean(uncoercibleObject), 'uncoercibleObject coerces to true');
Dtests.js81 t.equal(false, ES.ToBoolean(undefined), 'undefined coerces to false');
82 t.equal(false, ES.ToBoolean(null), 'null coerces to false');
83 t.equal(false, ES.ToBoolean(false), 'false returns false');
84 t.equal(true, ES.ToBoolean(true), 'true returns true');
88 st.equal(false, ES.ToBoolean(falsyNumber), 'falsy number ' + falsyNumber + ' coerces to false');
91 … st.equal(true, ES.ToBoolean(truthyNumber), 'truthy number ' + truthyNumber + ' coerces to true');
97 t.equal(false, ES.ToBoolean(''), 'empty string coerces to false');
98 t.equal(true, ES.ToBoolean('foo'), 'nonempty string coerces to true');
102 st.equal(true, ES.ToBoolean(obj), 'object coerces to true');
104 st.equal(true, ES.ToBoolean(v.uncoercibleObject), 'uncoercibleObject coerces to true');
/third_party/node/deps/npm/node_modules/es-abstract/operations/
D2015.js12 ToBoolean: 'https://ecma-international.org/ecma-262/6.0/#sec-toboolean', property
D2016.js12 ToBoolean: 'https://ecma-international.org/ecma-262/7.0/#sec-toboolean', property
D2017.js12 ToBoolean: 'https://ecma-international.org/ecma-262/8.0/#sec-toboolean', property
/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/
DCore.cpp27 out = value.ToBoolean(); in FromJS()
/third_party/node/src/
Dnode_report_module.cc86 bool compact = info[0]->ToBoolean(isolate)->Value(); in SetCompact()
Djs_native_api_v8.cc2287 v8impl::V8LocalValueFromJsValue(value)->ToBoolean(isolate); in napi_coerce_to_bool()
/third_party/cef/libcef/renderer/
Dv8_impl.cc1515 InitBool(value->ToBoolean(context->GetIsolate())->Value()); in InitFromV8Value()
/third_party/jerryscript/docs/
D02.API-REFERENCE.md3187 Call ToBoolean operation on the api value.
/third_party/node/doc/api/
Dn-api.md3318 This API implements the abstract operation `ToBoolean()` as defined in
/third_party/node/doc/changelogs/
DCHANGELOG_V11.md1683 …hub.com/nodejs/node/commit/08c6b2126c)] - **src**: use Local version of ToBoolean() (cjihrig) [#24…
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp128601 ToBoolean(HandleValue v) in ToBoolean() function