@technobuddha > library > Object
Conversion
| Name | Type | Description |
|---|---|---|
| BooleanOptions | Type | Options for the toBoolean function |
| toArray | Function | Ensures that the provided value is returned as an array. |
| toBoolean | Function | Convert a string to a boolean value |
| toDate | Function | Converts an unknown entity to a Date object. |
| toError | Function | Convert the entity to an Error object. |
| toInteger | Function | Convert an entity to a integer number. |
| toNumber | Function | Convert an entity to a number. |
| toPrimitive | Function | Convert an object into its primitive (string, number, etc.) value |
| toString | Function | Converts an unknown value to its string representation. |