Returns an array of the property names an instance carries, including ones that do not surface in the normal Luau view. Pair it with gethiddenproperty to read values you would otherwise never see.

Parameters

Instance
required
The instance to inspect.

Returns

table
An array of property names.

Example