MCPcopy Create free account
hub / github.com/expr-lang/expr / Array

Function Array

types/types.go:149–151  ·  view source on GitHub ↗

Array returns a type that represents an array of the given type.

(of Type)

Source from the content-addressed store, hash-verified

147
148// Array returns a type that represents an array of the given type.
149func Array(of Type) Type {
150 return array{of}
151}
152
153type array struct {
154 of Type

Callers 2

TestCheck_typesFunction · 0.92
TestType_EqualFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestCheck_typesFunction · 0.74
TestType_EqualFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…