Lines Matching defs:value
25 Handle<Object> value = args.atOrUndefined(isolate, 1);
27 if (value->IsJSReceiver()) {
29 isolate, value,
30 JSReceiver::ToPrimitive(isolate, Handle<JSReceiver>::cast(value),
34 if (value->IsNumber()) {
35 RETURN_RESULT_OR_FAILURE(isolate, BigInt::FromNumber(isolate, value));
37 RETURN_RESULT_OR_FAILURE(isolate, BigInt::FromObject(isolate, value));
78 MaybeHandle<BigInt> ThisBigIntValue(Isolate* isolate, Handle<Object> value,
80 // 1. If Type(value) is BigInt, return value.
81 if (value->IsBigInt()) return Handle<BigInt>::cast(value);
82 // 2. If Type(value) is Object and value has a [[BigIntData]] internal slot:
83 if (value->IsJSPrimitiveWrapper()) {
84 // 2a. Assert: value.[[BigIntData]] is a BigInt value.
85 // 2b. Return value.[[BigIntData]].
86 Object data = JSPrimitiveWrapper::cast(*value).value();
100 // 1. Let x be ? thisBigIntValue(this value).
119 // Return the String representation of this Number value using the radix
130 // 1. Let x be ? thisBigIntValue(this value).