@nschonni Don't recall when it is best but the convention seems to be to use typeof in most cases.