Documentation
¶
Index ¶
- func ContainsAll[T any](c cog.Collection[T], vs ...T) bool
- func ContainsAny[T any](c cog.Collection[T], vs ...T) bool
- func ContainsCol[T any](a cog.Collection[T], b cog.Collection[T]) bool
- func JsonMarshalCol[T any](c cog.Collection[T]) ([]byte, error)
- func JsonUnmarshalCol[T any](data []byte, c cog.Collection[T]) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsAll ¶
func ContainsAll[T any](c cog.Collection[T], vs ...T) bool
ContainsAll Test to see if the collection contains all items of vs
func ContainsAny ¶
func ContainsAny[T any](c cog.Collection[T], vs ...T) bool
ContainsAny Test to see if the collection contains any item of vs
func ContainsCol ¶
func ContainsCol[T any](a cog.Collection[T], b cog.Collection[T]) bool
ContainsCol Test to see if the collection contains all items of another collection
func JsonMarshalCol ¶
func JsonMarshalCol[T any](c cog.Collection[T]) ([]byte, error)
---------------------------------------------------------------------
func JsonUnmarshalCol ¶
func JsonUnmarshalCol[T any](data []byte, c cog.Collection[T]) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.