Optional Int Range

class blocksci.IntOptionalRange
all

Returns a list of all of the objects in the range

has_value

Return a array of bools denoting whether a item in the sequence has a value or is none

Type:numpy.ndarray[bool]
with_default_value(default_value: int) → numpy.ndarray[int64]

Replace all none values in the sequence with the provided default value and return the resulting sequence

Type:intRange
with_value

Returns a sequence containing only non-None items in the sequence

Type:intRange