跳到主要内容

IsInt

如果 CDocBuilderValue 对象是整数,则返回 true。

备注

此方法不适用于 JS。

语法​

def IsInt(self) -> bool

参数​

此方法没有参数。

示例​

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
globalObj = context.GetGlobal()
bInt = globalObj.IsInt()