Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit 9299d64

Browse files
committed
Add missed method to Value stub [skip ci]
1 parent 22b33a1 commit 9299d64

File tree

1 file changed

+225
-0
lines changed

1 file changed

+225
-0
lines changed

stubs/src/Value.php

+225
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,231 @@ public function isRegExp(): bool
225225
{
226226
}
227227

228+
/**
229+
* Returns true if this value is an async function.
230+
*
231+
* @return bool
232+
*/
233+
public function isAsyncFunction(): bool
234+
{
235+
}
236+
237+
/**
238+
* Returns true if this value is a Generator function.
239+
*
240+
* @return bool
241+
*/
242+
public function isGeneratorFunction(): bool
243+
{
244+
}
245+
246+
/**
247+
* Returns true if this value is a Generator object (iterator).
248+
*
249+
* @return bool
250+
*/
251+
public function isGeneratorObject(): bool
252+
{
253+
}
254+
255+
/**
256+
* Returns true if this value is a Promise.
257+
*
258+
* @return bool
259+
*/
260+
public function isPromise(): bool
261+
{
262+
}
263+
264+
/**
265+
* Returns true if this value is a Map.
266+
*
267+
* @return bool
268+
*/
269+
public function isMap(): bool
270+
{
271+
}
272+
273+
/**
274+
* Returns true if this value is a Set.
275+
*
276+
* @return bool
277+
*/
278+
public function isSet(): bool
279+
{
280+
}
281+
282+
/**
283+
* Returns true if this value is a Map Iterator.
284+
*
285+
* @return bool
286+
*/
287+
public function isMapIterator(): bool
288+
{
289+
}
290+
291+
/**
292+
* Returns true if this value is a Set Iterator.
293+
*
294+
* @return bool
295+
*/
296+
public function isSetIterator(): bool
297+
{
298+
}
299+
300+
/**
301+
* Returns true if this value is a WeakMap.
302+
*
303+
* @return bool
304+
*/
305+
public function isWeakMap(): bool
306+
{
307+
}
308+
309+
/**
310+
* Returns true if this value is a WeakSet.
311+
*
312+
* @return bool
313+
*/
314+
public function isWeakSet(): bool
315+
{
316+
}
317+
318+
/**
319+
* Returns true if this value is an ArrayBuffer.
320+
*
321+
* @return bool
322+
*/
323+
public function isArrayBuffer(): bool
324+
{
325+
}
326+
327+
/**
328+
* Returns true if this value is an ArrayBufferView.
329+
*
330+
* @return bool
331+
*/
332+
public function isArrayBufferView(): bool
333+
{
334+
}
335+
336+
/**
337+
* Returns true if this value is one of TypedArrays.
338+
*
339+
* @return bool
340+
*/
341+
public function isTypedArray(): bool
342+
{
343+
}
344+
345+
/**
346+
* Returns true if this value is an Uint8Array.
347+
*
348+
* @return bool
349+
*/
350+
public function isUint8Array(): bool
351+
{
352+
}
353+
354+
/**
355+
* Returns true if this value is an Uint8ClampedArray.
356+
*
357+
* @return bool
358+
*/
359+
public function isUint8ClampedArray(): bool
360+
{
361+
}
362+
363+
/**
364+
* Returns true if this value is an Int8Array.
365+
*
366+
* @return bool
367+
*/
368+
public function isInt8Array(): bool
369+
{
370+
}
371+
372+
/**
373+
* Returns true if this value is an Uint16Array.
374+
*
375+
* @return bool
376+
*/
377+
public function isUint16Array(): bool
378+
{
379+
}
380+
381+
/**
382+
* Returns true if this value is an Int16Array.
383+
*
384+
* @return bool
385+
*/
386+
public function isInt16Array(): bool
387+
{
388+
}
389+
390+
/**
391+
* Returns true if this value is an Uint32Array.
392+
*
393+
* @return bool
394+
*/
395+
public function isUint32Array(): bool
396+
{
397+
}
398+
399+
/**
400+
* Returns true if this value is an Int32Array.
401+
*
402+
* @return bool
403+
*/
404+
public function isInt32Array(): bool
405+
{
406+
}
407+
408+
/**
409+
* Returns true if this value is a Float32Array.
410+
*
411+
* @return bool
412+
*/
413+
public function isFloat32Array(): bool
414+
{
415+
}
416+
417+
/**
418+
* Returns true if this value is a Float64Array.
419+
*
420+
* @return bool
421+
*/
422+
public function isFloat64Array(): bool
423+
{
424+
}
425+
426+
/**
427+
* Returns true if this value is a DataView.
428+
*
429+
* @return bool
430+
*/
431+
public function isDataView(): bool
432+
{
433+
}
434+
435+
/**
436+
* Returns true if this value is a SharedArrayBuffer.
437+
* This is an experimental feature.
438+
*
439+
* @return bool
440+
*/
441+
public function isSharedArrayBuffer(): bool
442+
{
443+
}
444+
445+
/**
446+
* Returns true if this value is a JavaScript Proxy.
447+
*
448+
* @return bool
449+
*/
450+
public function isProxy(): bool
451+
{
452+
}
228453

229454
/**
230455
* @param Context $context

0 commit comments

Comments
 (0)