UniCoreFW

identity()

Return the given value unchanged.

Implementation

Args: value: The value to return Returns: The same value that was passed in

Example

identity(42)

Expected output: 42

Source Code

def identity(value: T) -> T: return value