The built-in array type supports defining the member's type:
= Types::Array.of(Types::Coercible::String)
PostStatuses[[:foo, :bar]] # ["foo", "bar"]
You’re viewing documentation for version v1.7.
View latest ->The built-in array type supports defining the member's type:
= Types::Array.of(Types::Coercible::String)
PostStatuses[[:foo, :bar]] # ["foo", "bar"]