IterableOnceDeco

io.shiftleft.Implicits.IterableOnceDeco
final implicit class IterableOnceDeco[T](val iterable: IterableOnce[T]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Deprecated methods

def onlyChecked: T

Attributes

Deprecated
[Since version 1.7.42 (July 2025)] please use `.loneElement` from flatgraph (mixed into the generated `language` packages) instead, which has a better name and will throw if the iterable has more than one element (rather than just log.warn)

Concrete fields

val iterable: IterableOnce[T]