流浪のwolf

卷帝

导航

2025年2月8日

js判断类型

摘要: const opt = Object.prototype.toString; export function isArray(obj: any): obj is any[] { return opt.call(obj) '[object Array]'; } export function isOb 阅读全文

posted @ 2025-02-08 11:37 朱龙旭的网络 阅读(11) 评论(0) 推荐(0)