Namespace

Runtime\Go\Slices

Package slices binds the day-to-day functions of go's slices package as the Runtime\Go\Slices namespace.

Description

Package slices binds the day-to-day functions of go's slices package as the Runtime\Go\Slices namespace. A script imports it with use Runtime\Go\Slices; and calls Slices\Contains($list, $v); the default runtime carries none of these names. A function reads a list and answers a new one, because a php array is a value and nothing is sorted or reversed in place.

Package
stdlib/go/slicesgodoc

Functions

A file takes this area with use Runtime\Go\Slices; and calls Slices\Compact().

See also