예제 #1
0
파일: v8_value.go 프로젝트: kingland/gnode
func (val_ *Value) IsInt32() bool {
	return val_.hasJsType(isInt32, func(self unsafe.Pointer) bool {
		return C.V8_Value_IsInt32(self) == 1
	})
}
예제 #2
0
파일: v8_value.go 프로젝트: yangou/go-v8
func (v *Value) IsInt32() bool {
	return v.checkJsType(isInt32, func(self unsafe.Pointer) bool {
		return C.V8_Value_IsInt32(self) == 1
	})
}