要检查变量是否为本地js Date对象,请使用moment.isDate()方法。 用法: moment.isDate(obj);. 参数:Object. 返回:对或错. moment模块的安装:.
確定! 回上一頁