You can also call it like an ordinary function to test if x is of type object.
This will always be true for all legal values of x, be that integer, atom, string, or sequence, so object() will always return 1, except when x is unassigned.
There is a generic version of the object function implemented as :%opObj in builtins\VM\pType.e that the compiler only invokes as a last resort, preferring instead to inline that functionality if the argument is known to be assigned or the result variable, if any, is known to be an integer, ie does not require decref/dealloc. The compiler may also completely omit the test and/or any related code, if type inference/propagation determines that the result will always be true or always false.