@@ -186,11 +186,7 @@ array[:] == array
186
186
</tr>
187
187
</table >
188
188
189
- ### all()
190
-
191
- ```
192
- all(array, predicate)
193
- ```
189
+ ### all(array, predicate)
194
190
195
191
Returns ** true** if all elements satisfies the [ predicate] ( #predicate ) .
196
192
If the array is empty, returns ** true** .
@@ -199,12 +195,12 @@ If the array is empty, returns **true**.
199
195
all (Tweets, {.Size < 280 })
200
196
```
201
197
202
- ### ` any(array, predicate) `
198
+ ### any(array, predicate)
203
199
204
200
Returns ** true** if any elements satisfies the [ predicate] ( #predicate ) .
205
201
If the array is empty, returns ** false** .
206
202
207
- ### ` one(array, predicate) `
203
+ ### one(array, predicate)
208
204
209
205
Returns ** true** if _ exactly one_ element satisfies the [ predicate] ( #predicate ) .
210
206
If the array is empty, returns ** false** .
@@ -213,21 +209,21 @@ If the array is empty, returns **false**.
213
209
one(Participants, {.Winner})
214
210
```
215
211
216
- ### ` none(array, predicate) `
212
+ ### none(array, predicate)
217
213
218
214
Returns ** true** if _ all elements does not_ satisfy the [ predicate] ( #predicate ) .
219
215
If the array is empty, returns ** true** .
220
216
221
- ### ` map(array, predicate) `
217
+ ### map(array, predicate)
222
218
223
219
Returns new array by applying the [ predicate] ( #predicate ) to each element of
224
220
the array.
225
221
226
- ### ` filter(array, predicate) `
222
+ ### filter(array, predicate)
227
223
228
224
Returns new array by filtering elements of the array by [ predicate] ( #predicate ) .
229
225
230
- ### ` count(array, predicate) `
226
+ ### count(array, predicate)
231
227
232
228
Returns the number of elements what satisfies the [ predicate] ( #predicate ) .
233
229
Equivalent to:
@@ -236,23 +232,23 @@ Equivalent to:
236
232
len (filter (array, predicate))
237
233
```
238
234
239
- ### ` len(v) `
235
+ ### len(v)
240
236
241
237
Returns the length of an array, a map or a string.
242
238
243
- ### ` abs(v) `
239
+ ### abs(v)
244
240
245
241
Returns the absolute value of a number.
246
242
247
- ### ` int(v) `
243
+ ### int(v)
248
244
249
245
Returns the integer value of a number or a string.
250
246
251
247
``` python
252
248
int (" 123" ) == 123
253
249
```
254
250
255
- ### ` float(v) `
251
+ ### float(v)
256
252
257
253
Returns the float value of a number or a string.
258
254
0 commit comments