If x has a names attribute attached to it, this function will copy the names into a string[].
Throws an error if names is not defined for x.
See Implementation
If x has a names attribute attached to it, this function will copy the names into a string[].
Throws an error if names is not defined for x.