global.ToBoolean()
syntax: |
ToBoolean(value) |
where: |
value - to be cast as a boolean.
|
return: |
boolean - conversion of value.
|
description: |
The following list indicates how different data types are converted by this function.
• Boolean • Buffer • null • Number • Object • String • undefined |