any@0.1.2
Returns `true` if a value exists in the given string, array or object, or if a callback is passed checks to see if a truthy value is returned for any element in a collection or for any sub-string in a string. The function returns as soon as it finds a pas
2014-11-04
安装 (0.1.2)
npm install any@0.1.2
yarn add any@0.1.2
pnpm add any@0.1.2
bun add any@0.1.2
dependencies (2)
| 包名 | 版本要求 |
|---|---|
| for-own | ^0.1.2 |
| make-iterator | ^0.1.0 |
devDependencies (4)
| 包名 | 版本要求 |
|---|---|
| mocha | * |
| should | ^4.0.4 |
| verb | >= 0.2.6 |
| verb-tag-jscomments | ^0.2.2 |
相关教程
Google Protobuf Any 和 Oneof
Protobuf Any 封装未知消息类型实现多态Oneof 确保多个字段最多一个被设置。Any 跨语言发包场景常用。本文用 Any 传递不同类型的消息体。
HTTP 状态码 429 Too Many Requests 限流了
429 表示客户端发请求太频繁超过了服务器的速率限制。响应头 Retry-After 告诉客户端多久后再试。本文解释常见的限流算法和客户端应对策略。
SAM:Segment Anything 通用图像分割模型
深入 SAM 架构,学习其图像编码器、提示编码器和掩码解码器,如何根据点、框或网格提示对任何图像进行灵活分割。