withoutPattern

@Contract(value = "_ -> new", pure = true)
abstract fun withoutPattern(index: Int): BannerMeta

Creates new banner metadata with the pattern at the given index removed from the list of patterns.

Return

new banner metadata

Parameters

index

the index of the pattern to remove


@Contract(value = "_ -> new", pure = true)
abstract fun withoutPattern(pattern: BannerPattern): BannerMeta

Creates new banner metadata with the given pattern removed from the list of patterns.

Return

new banner metadata

Parameters

pattern

the pattern to remove