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

Usage in Deno

import { isArgumentsObject } from "node:util/types";
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