symfem.utils

Utility functions.

Module Contents

Functions

allequal(→ bool)

Test if two items that may be nested lists/tuples are equal.

symfem.utils.allequal(a: Any, b: Any) bool

Test if two items that may be nested lists/tuples are equal.

Parameters:
  • a – The first item

  • b – The second item

Returns:

a == b?