示例#1
0
func (val_ *Value) IsString() bool {
	return val_.hasJsType(isString, func(self unsafe.Pointer) bool {
		return C.V8_Value_IsString(self) == 1

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