Skip to content

ContainsLazy type

Home > @rimitive/core > ContainsLazy

Check if array contains any lazy modules

Signature:

export type ContainsLazy<T extends readonly Module[]> = Extract<T[number], {
__lazy: true;
}> extends never ? false : true;

References: Module