Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@tool-developer/wo-base-utils

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tool-developer/wo-base-utils

wo utils library

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

@tool-developer/wo-utils

底层公共工具方法。

用法

npm install --save @tool-developer/wo-utils

or

yarn add @tool-developer/wo-utils
import utils from '@tool-developer/wo-utils'

API

.isEmpty(obj)

是否为空

.isArray(val)

是否数组

.isObject(val)

是否对象

.isDate(val)

是否日期对象

.merge(...args)

拷贝(合并)操作

.deepMerge(...args)

深拷贝(合并)操作

.forEach(obj, fn)

遍历处理

Keywords

utils

FAQs

Package last updated on 26 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts