Object.zStringToken
zStringToken() -> string
Description
Return a string token that represents this object.
You can define an additional summary within the token by defining an onStringToken method that returns a string.
If you want to convert the object to a fully formatted string, define a new custom method. (e.g. Date has a format method)
class User {
...
public fun onToString {
return @.userId
}
}
$user = User()
print($user)
//=《 User 1234 》