Skip to content

Commit

Permalink
fix: AnyOf Chinese README.md spelling error (type-challenges#11709)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzy1960 authored Jun 16, 2022
1 parent 010040e commit d8f62c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion questions/00949-medium-anyof/README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--info-header-start--><h1>AnyOf <img src="https://img.shields.io/badge/-%E4%B8%AD%E7%AD%89-d9901a" alt="中等"/> <img src="https://img.shields.io/badge/-%23array-999" alt="#array"/></h1><blockquote><p>by null <a href="https://github.com/kynefuk" target="_blank">@kynefuk</a></p></blockquote><p><a href="https://tsch.js.org/949/play/zh-CN" target="_blank"><img src="https://img.shields.io/badge/-%E6%8E%A5%E5%8F%97%E6%8C%91%E6%88%98-3178c6?logo=typescript&logoColor=white" alt="接受挑战"/></a> &nbsp;&nbsp;&nbsp;<a href="./README.md" target="_blank"><img src="https://img.shields.io/badge/-English-gray" alt="English"/></a> </p><!--info-header-end-->

在类型系统中实现类似于 Python 中 `any` 函数。类型接收一个数组,如果数组中任一个元素为真,则返回 `true`,否则返回 `fasle`。如果数组为空,返回 `false`
在类型系统中实现类似于 Python 中 `any` 函数。类型接收一个数组,如果数组中任一个元素为真,则返回 `true`,否则返回 `false`。如果数组为空,返回 `false`

例如:

Expand Down

0 comments on commit d8f62c9

Please sign in to comment.