Skip to main content
types.isArgumentsObject - util - Node documentation
function types.isArgumentsObject

Usage in Deno

import { types } from "node:util";
isArgumentsObject(object: unknown): object is IArguments

Returns true if the value is an arguments object.

function foo() {
  util.types.isArgumentsObject(arguments);  // Returns true
}

Parameters

object: unknown

Return Type

object is IArguments