<i>GOO</i> Manual -- Any

|  |  | Any

## Any

All objects are derived from `<any>`.

`<any>` | `(<any>)` | `C`
`as` | `(x|<any> y|<any> => <any>)` | `G`
| coerces y to an instance of x. |
`class-of` | `(x|<any> => <class>)` | `G`
| returns concrete class of `x`. |
`==` | `(x|<any> y|<any> => <log>)` | `G`
| returns true iff `x` and `y` are computationally equivalent. |
`=` | `(x|<any> y|<any> => <log>)` | `G`
| returns true iff `x` and `y` are equal, where equality is user defined and defaults to `==`. |
`~=` | `(x|<any> y|<any> => <log>)` | `G`
| == `(not (= x y))`. |
`~==` | `(x|<any> y|<any> => <log>)` | `G`
| == `(not (== x y))`. |
`to-str` | `(x|<any> => <str>)` | `G`
| returns string representation of object. |

|  |  | Any