Lines Matching defs:value
33 * Returns true if this value is the undefined value. See ECMA-262
36 * This is equivalent to `value === undefined` in JS.
41 * Returns true if this value is the null value. See ECMA-262
44 * This is equivalent to `value === null` in JS.
49 * Returns true if this value is either the null or the undefined value.
53 * This is equivalent to `value == null` in JS.
58 * Returns true if this value is true.
61 * conversion to boolean, i.e. the result of `Boolean(value)` in JS, whereas
62 * this checks `value === true`.
67 * Returns true if this value is false.
70 * conversion to boolean, i.e. the result of `!Boolean(value)` in JS, whereas
71 * this checks `value === false`.
76 * Returns true if this value is a symbol or a string.
79 * `typeof value === 'string' || typeof value === 'symbol'` in JS.
84 * Returns true if this value is an instance of the String type.
87 * This is equivalent to `typeof value === 'string'` in JS.
92 * Returns true if this value is a symbol.
94 * This is equivalent to `typeof value === 'symbol'` in JS.
99 * Returns true if this value is a function.
101 * This is equivalent to `typeof value === 'function'` in JS.
106 * Returns true if this value is an array. Note that it will return false for
112 * Returns true if this value is an object.
117 * Returns true if this value is a bigint.
119 * This is equivalent to `typeof value === 'bigint'` in JS.
124 * Returns true if this value is boolean.
126 * This is equivalent to `typeof value === 'boolean'` in JS.
131 * Returns true if this value is a number.
133 * This is equivalent to `typeof value === 'number'` in JS.
138 * Returns true if this value is an `External` object.
143 * Returns true if this value is a 32-bit signed integer.
148 * Returns true if this value is a 32-bit unsigned integer.
153 * Returns true if this value is a Date.
158 * Returns true if this value is an Arguments object.
163 * Returns true if this value is a BigInt object.
168 * Returns true if this value is a Boolean object.
173 * Returns true if this value is a Number object.
178 * Returns true if this value is a String object.
183 * Returns true if this value is a Symbol object.
188 * Returns true if this value is a NativeError.
193 * Returns true if this value is a RegExp.
198 * Returns true if this value is an async function.
203 * Returns true if this value is a Generator function.
208 * Returns true if this value is a Generator object (iterator).
213 * Returns true if this value is a Promise.
218 * Returns true if this value is a Map.
223 * Returns true if this value is a Set.
228 * Returns true if this value is a Map Iterator.
233 * Returns true if this value is a Set Iterator.
238 * Returns true if this value is a WeakMap.
243 * Returns true if this value is a WeakSet.
248 * Returns true if this value is an ArrayBuffer.
253 * Returns true if this value is an ArrayBufferView.
258 * Returns true if this value is one of TypedArrays.
263 * Returns true if this value is an Uint8Array.
268 * Returns true if this value is an Uint8ClampedArray.
273 * Returns true if this value is an Int8Array.
278 * Returns true if this value is an Uint16Array.
283 * Returns true if this value is an Int16Array.
288 * Returns true if this value is an Uint32Array.
293 * Returns true if this value is an Int32Array.
298 * Returns true if this value is a Float32Array.
303 * Returns true if this value is a Float64Array.
308 * Returns true if this value is a BigInt64Array.
313 * Returns true if this value is a BigUint64Array.
318 * Returns true if this value is a DataView.
323 * Returns true if this value is a SharedArrayBuffer.
328 * Returns true if this value is a JavaScript Proxy.
333 * Returns true if this value is a WasmMemoryObject.
338 * Returns true if this value is a WasmModuleObject.
343 * Returns true if the value is a Module Namespace Object.
348 * Perform the equivalent of `BigInt(value)` in JS.
353 * Perform the equivalent of `Number(value)` in JS.
358 * Perform the equivalent of `String(value)` in JS.
363 * Provide a string representation of this value usable for debugging.
370 * Perform the equivalent of `Object(value)` in JS.
375 * Perform the equivalent of `Number(value)` in JS and convert the result
382 * Perform the equivalent of `Number(value)` in JS and convert the result
389 * Perform the equivalent of `Number(value)` in JS and convert the result
396 * Perform the equivalent of `Boolean(value)` in JS. This can never fail.
428 V8_INLINE static Value* Cast(T* value) {
429 return static_cast<Value*>(value);
449 V8_INLINE Value* Value::Cast(Data* value) {
451 CheckCast(value);
453 return static_cast<Value*>(value);