forml.io.dsl.Array

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

Array data type class.

Abstract constructor.

Parameters

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

__init__()

Methods

__init__()

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