Back to Lo

Core None

docs/data/core-none.md

1.53.0167 B
Original Source

Returns true if no element of a subset is contained in a collection, or if the subset is empty.

go
ok := lo.None([]int{0, 1, 2, 3, 4, 5}, []int{-1, 6})
// true