web3-utilsFunctionsgetKeysgetKeys CallablegetKeys(params: Record<string, string>[], key: string, allowEmpty?: boolean): string[]Returns the keys from an array of objects.@examplegetKeys([{a: '1', b: '2'}, {a: '3', b: '4'}], 'a') => ['1', '3']Parametersparams: Record<string, string>[]key: stringoptionalallowEmpty: booleanReturns string[]output just a simple array of output keys
Returns the keys from an array of objects.