LimitedStack
helpers/utils.LimitedStack
Type parameters
Name |
---|
T |
constructor
new LimitedStack<T
>(limit
): LimitedStack
<T
>
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
limit |
number |
Returns
LimitedStack
<T
>
Defined in
src/core/helpers/utils/stack.ts#16
limit
Readonly
limit: number
Defined in
src/core/helpers/utils/stack.ts#16
push
push(item
): this
Parameters
Name | Type |
---|---|
item |
T |
Returns
this
Defined in
src/core/helpers/utils/stack.ts#18
pop
pop(): CanUndef
<T
>
Returns
CanUndef
<T
>
Defined in
src/core/helpers/utils/stack.ts#28
find
find(clb
): CanUndef
<T
>
Parameters
Name | Type |
---|---|
clb |
(item : T ) => boolean |
Returns
CanUndef
<T
>
Defined in
jodit/src/core/helpers/utils/stack.ts:32