Get the world transform without unparenting?

is there any way to get the world transform without unparenting?

thx

xform-ws [whatever thing you want]

seems to apply all parent transforms, so it should do what you want.