ToUint32 returns the uint32 value of the value.
()
| 200 | |
| 201 | // ToUint32 returns the uint32 value of the value. |
| 202 | func (v *Value) ToUint32() uint32 { |
| 203 | val := C.uint32_t(0) |
| 204 | C.JS_ToUint32(v.ctx.ref, &val, v.ref) |
| 205 | return uint32(val) |
| 206 | } |
| 207 | |
| 208 | // Deprecated: Use ToFloat64 instead. |
| 209 | func (v *Value) Float64() float64 { |
no outgoing calls