is_scalar

Signature:

def is_scalar(
type_: StrawberryType | type,
scalar_registry: Dict[object, ScalarWrapper | ScalarDefinition],
) -> TypeGuard[type]:
...

Parameters:

  1. type_:

    Type
    StrawberryType | type
  2. scalar_registry:

    Type
    Dict[object, ScalarWrapper | ScalarDefinition]