Node.js util.types.isBigUint64Array() Method Last Updated : 12 Oct, 2021 Comments Improve Suggest changes Like Article Like Report The util.types.isBigUint64Array() method of util module is primarily designed to support the needs of Node.js own Internal APIs. The util.types.isBigUint64Array() method is used to check if the given value is a BigUint64Array object. Syntax: util.types.isBigUint64Array( value ) Parameters: This function accepts one parameter as mentioned above and described below: value: This is the value that would be checked for a BigUint64Array object. Return Value: This method returns a Boolean value i.e true if the passed value is instance of BigUint64Array otherwise returns false. Below examples illustrate the util.types.isBigUint64Array() method in Node.js: Example 1: javascript // Node.js program to demonstrate the // util.types.isBigUint64Array() method // Import the util module const util = require('util'); // Checking for a big signed 64-bit integer array isBigUnsignedint64Arr = util.types.isBigUint64Array(new BigUint64Array()); console.log("Object is Big Unsigned 64-bit array object:", isBigUnsignedint64Arr); isBigUnsignedint64Arr = util.types.isBigUint64Array(new BigInt64Array()); console.log("Object is Big Unsigned 64-bit array object:", isBigUnsignedint64Arr); isBigUnsignedint64Arr = util.types.isBigUint64Array(new Int32Array()); console.log("Object is Big Unsigned 64-bit array object:", isBigUnsignedint64Arr); Output: Object is Big Unsigned 64-bit array object: true Object is Big Unsigned 64-bit array object: false Object is Big Unsigned 64-bit array object: false Example 2: javascript // Node.js program to demonstrate the // util.types.isBigUint64Array() method // Import the util module const util = require('util'); // Checking a big unsigned 64-bit integer array let bigUnsigned64Arr = new BigUint64Array([16n, 25n, 69n]); console.log(bigUnsigned64Arr); isBigUnsignedint64Arr = util.types.isBigUint64Array(bigUnsigned64Arr); console.log("Object is Big Unsigned 64-bit array object:", isBigUnsignedint64Arr); // Checking a big signed 64-bit integer array let bigSigned64Arr = new BigInt64Array([16n, 25n, 69n]); console.log(bigSigned64Arr); isBigUnsignedint64Arr = util.types.isBigUint64Array(bigSigned64Arr); console.log("Object is Big Unsigned 64-bit array object:", isBigUnsignedint64Arr); // Checking a unsigned 32-bit integer array let unsigned32Arr = new Uint32Array([16, 25, 69]); console.log(unsigned32Arr); isBigUnsignedint64Arr = util.types.isBigUint64Array(unsigned32Arr); console.log("Object is Big Unsigned 64-bit array object:", isBigUnsignedint64Arr); Output: BigUint64Array [ 16n, 25n, 69n ] Object is Big Unsigned 64-bit array object: true BigInt64Array [ 16n, 25n, 69n ] Object is Big Unsigned 64-bit array object: false Uint32Array [ 16, 25, 69 ] Object is Big Unsigned 64-bit array object: false Reference: https://nodejs.org/api/util.html#util_util_types_isbiguint64array_value Comment More infoAdvertise with us Next Article Node.js util.types.isBigUint64Array() Method S sayantanm19 Follow Improve Article Tags : Web Technologies Node.js Node.js-util-module Similar Reads Node.js Utility Module The util module in Node.js provides a variety of utility functions that assist with tasks such as debugging, formatting, and inheritance. It includes methods for inspecting objects, formatting strings, and extending classes. Node.js Utility ModuleThe util module offers essential utilities that are n 4 min read Node.js util.callbackify() Method The util.callbackify() method is an inbuilt application programming interface of the util module which is used to run an asynchronous function and get a callback in the node.js.Syntax:Â Â util.callbackify( async_function ) Parameters: This method accepts single parameter as mentioned above and descri 2 min read Node.js util.debuglog() Method The âutilâ module provides âutilityâ functions that are used for debugging purposes. For accessing those functions we need to call them (by ârequire(âutilâ)â). The util.debuglog() (Added in v0.11.3) method is an inbuilt application programming interface of the util module which is used to create a f 3 min read Node.js util.format() Method The util.format() (Added in v0.5.3) method is an inbuilt application programming interface of the util module which is like printf format string and returns a formatted string using the first argument. The formatted string contains zero or more format specifiers in which the corresponding argument v 5 min read Node.js util.inherits() Method The âutilâ module provides âutilityâ functions that are used for debugging purposes. For accessing those functions we need to call them (by ârequire(âutilâ)â). The util.inherits() (Added in v0.3.0) method is an inbuilt application programming interface of the util module in which the constructor inh 3 min read Node.js util.formatWithOptions() Method The util.formatWithOptions() (Added in v10.0.0) method is an inbuilt application programming interface of the util module which is like printf format string and returns a formatted string using the first argument. It is somewhat identical to util.format() method, the exception in this method is that 4 min read Node.js util.inspect() Method The "util" module provides 'utility' functions that are used for debugging purposes. For accessing those functions we need to call them by 'require('util')'. The util.inspect() (Added in v0.3.0) method is an inbuilt application programming interface of the util module which is intended for debugging 7 min read Node util.promisify() Method `util.promisify()` in Node.js converts callback-based methods to promise-based, aiding in managing asynchronous code more cleanly. This alleviates callback nesting issues, enhancing code readability, and simplifying asynchronous operations through promise chaining.Syntax:util.promisify(func)Paramete 2 min read Node.js util.isDeepStrictEqual() Method The "util" module provides 'utility' functions that are used for debugging purposes. For accessing those functions we need to call them (by 'require('util')'). The util.isDeepStrictEqual() (Added in v9.0.0) method is an inbuilt application programming interface of the util module which is an exporte 3 min read Node.js util.deprecate() Method The util.deprecate() (Added in v0.8.0_ method is an inbuilt application programming interface of the util module which wraps fn (which may be a function or class) in such a way that it is marked as deprecated. When util.deprecate() method is called, it returns a function that emits a DeprecationWarn 3 min read Like