Skip to main content
Version: 3.6

nasl.collection

declare namespace nasl.collection {
export class List<T> {
length: nasl.core.Integer;
__slice:(start?: nasl.core.Integer, end?: nasl.core.Integer) => List<T>;
__forEach:(callbackfn: (value: T, index: nasl.core.Integer) => void) => void;
}
export class PageOf<T> {
content: nasl.collection.List<T>;
number: nasl.core.Integer;
size: nasl.core.Integer;
numberOfElements: nasl.core.Integer;
last: nasl.core.Boolean;
totalPages: nasl.core.Integer;
first: nasl.core.Boolean;
empty: nasl.core.Boolean;
totalElements: nasl.core.Integer;
}
}