| | |
| | | * @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, |
| | |
| | | isMatchWith, |
| | | isNative, |
| | | isNil, |
| | | isNumber, |
| | | isNull, |
| | | isObjectLike, |
| | | isPlainObject, |
| | |
| | | |
| | | 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); |
| | | } |
| | | |
| | |
| | | return false; |
| | | } |
| | | |
| | | export function ActionToJson(action: any): any { |
| | | return JSON.parse(JSON.stringify(action)) |
| | | } |
| | | |
| | | |