types.isArgumentsObject - Node documentation
function types.isArgumentsObject

Usage in Deno

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