> type(X) nil > type(X)==nil false > type(X)=="nil" true > 转载于:https://www.cnblogs.com/sea-stream/p/9978145.html