stack/packages/stack-shared/src/utils/functions.tsx
2024-03-25 20:59:16 -07:00

8 lines
134 B
TypeScript

export function identity<T>(t: T): T {
return t;
}
export function identityArgs<T extends any[]>(...args: T): T {
return args;
}