MCPcopy
hub / github.com/jones2000/HQChart / IsNumber

Method IsNumber

umychart_python/umychart_complier_help.py:19–24  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

17 # 公共帮助方法
18 @staticmethod
19 def IsNumber(value):
20 if not isinstance(value,(int,float)) :
21 return False
22 if (math.isnan(value)):
23 return False
24 return True
25
26 @staticmethod
27 def IsJsonNumber(jsData,name):

Callers 15

IsJsonNumberMethod · 0.45
IsDivideNumberMethod · 0.45
IsJsonDivideNumberMethod · 0.45
CalculateZIGLineMethod · 0.45
JsonDataToFinanceMethod · 0.45
RecvStockDayDataMethod · 0.45
RecvMarginDataMethod · 0.45
GetNewsAnalysisDataMethod · 0.45
JSAlgorithmFunction · 0.45
JSDrawFunction · 0.45

Calls

no outgoing calls

Tested by 1

itFunction · 0.36