castep_outputs.utilities.compat

Contents

castep_outputs.utilities.compat#

Compat for legacy Python.

Functions

is_not_none(x)

Whether value is none.

castep_outputs.utilities.compat.is_not_none(x)[source]#

Whether value is none.

Dummy for pre 3.14.

Parameters:

x (Any) – Value to test.

Returns:

Whether value is None.

Return type:

bool