forml.io.dsl.struct.kind.Array

class forml.io.dsl.struct.kind.Array(element)[source]

Array data type class.

Abstract constructor.

Parameters

element (forml.io.dsl.struct.kind.Any) –

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

count(value, /)

Return number of occurrences of value.

ensure(kind)

Ensure given kind is of our type.

index(value[, start, stop])

Return first index of value.

match(kind)

Check given kind is of our type.

Attributes

element

itemgetter(item, …) –> itemgetter object