validate_lazy

Contents

validate_lazy#

abtem.array.validate_lazy(lazy)[source]#

Validate the lazy argument.

Parameters:

lazy (bool or None) – If None, return the default value from the configuration. If a boolean, return the value.

Returns:

lazy – The validated value of lazy.

Return type:

bool