
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Mayank Agarwal has Published 373 Articles

Mayank Agarwal
92 Views
The util.types.isGeneratorFunction() method checks whether the passed value is a generator function or not. If the above condition holds, it returns True, else False. The return value may differ from the original source code if a transpilation tool is used.Syntaxutil.types.isGeneratorFunction(value)Parametersvalue − This input value takes input for the required parameter and ... Read More

Mayank Agarwal
93 Views
The util.types.isUint8ClampedArray() method checks whether the passed value is a built-in Uint8ClampedArray instance or not. If the above condition is satisfied, it returns True, else False.Syntaxutil.types.isUint8ClampedArray(value)Parametersvalue − This input value takes input for the required parameter and checks if it's a Uint8ClampedArray instance or not.It returns True or False based upon ... Read More

Mayank Agarwal
217 Views
The util.formatWithOptions() method works in the same way as the util.format() method. The only difference between the two is that the formatWithOptions() method takes an inspectOptions argument that specifies options that are passed along the util.inspect() method.Syntaxutil.formatWithOptions(inspectOptions, format, [args])ParametersThe parameters are defined below:inspectOptions − These options will be used to ... Read More

Mayank Agarwal
100 Views
The util.types.isArgumentsObject() method checks whether the passed value is an arguments object or not. If the above condition is satisfied, it returns True, else False.Syntaxutil.types.isArgumentsObject( value )Parametersvalue − This input parameter takes input for the required parameter and checks if it's an arguments object or not.It returns True or False based ... Read More

Mayank Agarwal
3K+ Views
We can embed path variables into the URL and then use these path parameters to retrieve info from resources. These API endpoints have different values with respect to different values passed inside them.Example 1Create a file named "index.js" and copy the following code snippet. After creating the file, use the ... Read More

Mayank Agarwal
136 Views
The v8.serializer.writeUint32() method is used for writing a raw 32-bit unsigned integer. This function is mainly used inside the custom serializer._writeHostObject().Syntaxv8.serializer.writeUint32(value)Parametersvalue − This parameter takes input for the 32-bit integer that will be written inside the internal buffer.The function does not return anything, instead it writes the passed value to the ... Read More

Mayank Agarwal
112 Views
The util.types.isGeneratorObject() method checks whether the passed value is a built-in generator object or not. If the above condition is satisfied, it returns True, else False. The return value may differ from the original source code if a transpilation tool is used.Syntaxutil.types.isGeneratorObject(value)Parametersvalue − This input value takes input for the required ... Read More

Mayank Agarwal
120 Views
The util.types.isDataView() method checks whether the passed value is a built-in DataView instance or not. If the above condition is satisfied, it returns True, else False.Syntaxutil.types.isDataView(value)Parametersvalue − This input value takes input for the required parameter and checks if it's a Data View instance or not.It returns True or False based ... Read More

Mayank Agarwal
110 Views
The util.types.isBigInt64Array() method checks whether the passed value is a BigInt64Array instance or not. If the above condition is satisfied, it returns True, else False.Syntaxutil.types.isBigInt64Array(value)Parametersvalue − This input value takes input for the required parameter and checks if it's a BigInt64 array instance or not.It returns True or False based upon ... Read More

Mayank Agarwal
1K+ Views
The util.isDeepStrictEqual() method as the name suggests, is used for checking whether the two values are deep strict equal or not. If both the values are deep strict equal, true is returned else it returns false.Syntaxutil.isDeepStrictEqual(val1, val2)Parametersval1 & val2 – Both the input parameters can accept class, function, object or a JavaScript primitive ... Read More