remove cut

This commit is contained in:
Ilya Kantor 2018-02-06 13:07:22 +03:00
parent 37f1936622
commit be007e78ef
99 changed files with 0 additions and 198 deletions

View file

@ -7,8 +7,6 @@ There are special methods in objects that do the conversion.
In the chapter <info:type-conversions> we've seen the rules for numeric, string and boolean conversions of primitives. But we left a gap for objects. Now, as we know about methods and symbols it becomes possible to close it.
[cut]
For objects, there's no to-boolean conversion, because all objects are `true` in a boolean context. So there are only string and numeric conversions.
The numeric conversion happens when we subtract objects or apply mathematical functions. For instance, `Date` objects (to be covered in the chapter <info:date>) can be subtracted, and the result of `date1 - date2` is the time difference between two dates.