Searched refs:ToBoolean (Results 1 – 15 of 15) sorted by relevance
/third_party/node/deps/npm/node_modules/es-abstract/ |
D | es5.js | 24 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);
|
D | es2015.js | 240 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/ |
D | es5.js | 54 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');
|
D | tests.js | 81 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/ |
D | 2015.js | 12 ToBoolean: 'https://ecma-international.org/ecma-262/6.0/#sec-toboolean', property
|
D | 2016.js | 12 ToBoolean: 'https://ecma-international.org/ecma-262/7.0/#sec-toboolean', property
|
D | 2017.js | 12 ToBoolean: 'https://ecma-international.org/ecma-262/8.0/#sec-toboolean', property
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/ |
D | Core.cpp | 27 out = value.ToBoolean(); in FromJS()
|
/third_party/node/src/ |
D | node_report_module.cc | 86 bool compact = info[0]->ToBoolean(isolate)->Value(); in SetCompact()
|
D | js_native_api_v8.cc | 2287 v8impl::V8LocalValueFromJsValue(value)->ToBoolean(isolate); in napi_coerce_to_bool()
|
/third_party/cef/libcef/renderer/ |
D | v8_impl.cc | 1515 InitBool(value->ToBoolean(context->GetIsolate())->Value()); in InitFromV8Value()
|
/third_party/jerryscript/docs/ |
D | 02.API-REFERENCE.md | 3187 Call ToBoolean operation on the api value.
|
/third_party/node/doc/api/ |
D | n-api.md | 3318 This API implements the abstract operation `ToBoolean()` as defined in
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V11.md | 1683 …hub.com/nodejs/node/commit/08c6b2126c)] - **src**: use Local version of ToBoolean() (cjihrig) [#24…
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
D | stylo.hpp | 128601 ToBoolean(HandleValue v) in ToBoolean() function
|