• Query the object's full properties.

    Parameters

    • obj: object

      Object to look up properties (except Object)

    • hasObj: boolean

      Whether to include 'Object'.

    Returns string[]

    Property name array.