Example #1
0
//True Value
func (engine_ *Engine) True() *Value {
	if engine_.trueValue == nil {
		engine_.trueValue = NewValue(engine_, C.V8_True(engine_.self))
	}
	return engine_.trueValue
}
Example #2
0
func (e *Engine) True() *Value {
	if e._true == nil {
		e._true = newValue(C.V8_True(e.self))
	}
	return e._true
}