String to Boolean
This question already has an answer here:
是不是:
var FeatureFlag = _.extend(CommonConfig, {
demoFeature: "true" == CommonConfig.getFeatureFlags['analytics.demo'],
});
链接地址: http://www.djcxy.com/p/75082.html
上一篇: 如何将字符串转换为布尔值?
下一篇: 字符串到布尔值