天软金融分析.NET函数大全 > 金融函数 > 指数 > 基本信息

IsIndex    

简述
判断IndexID是否为指数代码
定义
IsIndex(IndexID:String):Boolean
参数
名称类型说明
IndexIDString指数代码
返回Boolean布尔型
返回值 说明
0 IndexID不是指数代码
1 IndexID是指数代码
  • 范例

    //判断'SH000300'是否为指数代码
    Return IsIndex('SH000300');
    //结果:1
相关