• Converts an object to a human-readable representation.

    Parameters

    • obj: any

      The target object.

    • props: string[]

      A sequence of object properties to include in the output.

    Returns string

    A human-readable string for the given object.