Block a user
@sek1ro/iterables (0.1.4)
Published 2025-07-22 19:29:18 +03:00 by sek1ro
Installation
@sek1ro:registry=npm install @sek1ro/iterables@0.1.4"@sek1ro/iterables": "0.1.4"About this package
iterables-js
A data structures library based on iterators, inspired by libstdc++
Operators
| Operator | Naming |
|---|---|
+ |
add |
- |
sub |
++obj |
inc |
--obj |
dec |
* |
mul |
/ |
div |
% |
mod |
== |
eq |
!= |
neq |
< |
a.cmp(b) < 0 |
> |
a.cmp(b) > 0 |
<= |
a.cmp(b) <= 0 |
>= |
a.cmp(b) >= 0 |
&& |
and |
= const & |
copy |
= && |
move |
*obj |
deref |
&obj |
ref |
|| |
or |
! |
not |
& |
band |
| |
bor |
^ |
bxor |
~ |
bnot |
<< |
shl |
>> |
shr |
() |
call |
, |
comma |
obj++ |
X |
obj-- |
X |
-> |
X |
+= |
X |
-= |
X |
*= |
X |
/= |
X |
%= |
X |
&= |
X |
|= |
X |
^= |
X |
<<= |
X |
>>= |
X |
Dependencies
Development Dependencies
| ID | Version |
|---|---|
| rollup | ^4.45.1 |
| rollup-plugin-dts | ^6.2.1 |
| vitest | ^3.1.1 |