YangYuGang
2025-03-07 406543f8e30d0fb8f2905add5377d043a9c87113
src/utils/is.ts
@@ -5,7 +5,7 @@
 * @version: 
 * @Date: 2024-06-17 14:51:26
 * @LastEditors: Ben Lin
 * @LastEditTime: 2024-07-15 20:37:07
 * @LastEditTime: 2024-08-28 21:38:19
 */
export {
  isArguments,
@@ -28,7 +28,6 @@
  isMatchWith,
  isNative,
  isNil,
  isNumber,
  isNull,
  isObjectLike,
  isPlainObject,
@@ -77,6 +76,11 @@
export function isPascalCase(str: string): boolean {
  const regex = /^[A-Z][A-Za-z]*$/;
  return regex.test(str);
}
export function isNumber(str: string): boolean{
  const regex = /^[0-9]*$/;
  return regex.test(str);
}
@@ -134,4 +138,8 @@
  return false;
}
export function ActionToJson(action: any): any {
  return JSON.parse(JSON.stringify(action))
}