示例#1
0
func (val_ *Value) IsFunction() bool {
	return val_.hasJsType(isFunction, func(self unsafe.Pointer) bool {
		return C.V8_Value_IsFunction(self) == 1
	})
}
示例#2
0
文件: v8_value.go 项目: yangou/go-v8
func (v *Value) IsFunction() bool {
	return v.checkJsType(isFunction, func(self unsafe.Pointer) bool {
		return C.V8_Value_IsFunction(self) == 1
	})
}