hey everyone,
I have an array where i can't read the values from it.
i have:
- const interfaces: string = this.transformArray(product.interfaces);
to see the values i use:
- console.log(product.interfaces)
- console.log(interfaces)
and the console output is for product.interfaces:
- [
- {
- amount: null,
- interface: [ [Object] ],
- __typename: 'interfaces_interface_BlockType'
- },
- {
- amount: null,
- interface: [ [Object] ],
- __typename: 'interfaces_interface_BlockType'
- },
- {
- amount: null,
- interface: [ [Object] ],
- __typename: 'interfaces_interface_BlockType'
- },
- {
- amount: null,
- interface: [ [Object] ],
- __typename: 'interfaces_interface_BlockType'
- }
- ]
and for interfaces:
- undefined, undefined, undefined, undefined
The true value of this array should be sth like "Digital inputs and outputs (24 VDC level)". i guess i have to take the object from the array and read the object but its just guessing...
Can anyone help me pls?
Greetings