array

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Column

func Column(dest, input interface{}, columnKey, indexKey string)

Column array column to be new array php array_column

func Diff

func Diff(d interface{}, dArr ...interface{})

Diff array Diff to d php array_diff

func In

func In(d interface{}, arr interface{}) bool

In check d is in 'arr' php in_array

func Intersect

func Intersect(d interface{}, dArr ...interface{})

Intersect array Intersect to d php array_intersect

func Keys

func Keys(d interface{}, keys interface{})

Keys get array keys php array_keys

func Merge

func Merge(d interface{}, dArr ...interface{})

Merge array merge to d php array_merge

func Unique

func Unique(d interface{})

Unique array data de-duplication php array_unique

func Values

func Values(d interface{}, values interface{})

Values get array values php array_values

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL