Files
blender-portable-repo/scripts/addons/Rokoko Libraries/python311/graphql/pyutils/identity_func.py
T
2026-03-17 14:58:51 -06:00

14 lines
247 B
Python

from typing import cast, Any, TypeVar
from .undefined import Undefined
__all__ = ["identity_func"]
T = TypeVar("T")
def identity_func(x: T = cast(Any, Undefined), *_args: Any) -> T:
"""Return the first received argument."""
return x