neurom.core.types.checkTreeType

neurom.core.types.checkTreeType(ref, target)

Check whether target has the same type as ref

Returns:True if ref in the same type as target or ref is TreeType.all