react-native-get-pixel_edit/node_modules/nullthrows/nullthrows.d.ts
2025-07-09 11:41:52 +09:00

6 lines
153 B
TypeScript

/**
* Throws if value is null or undefined, otherwise returns value.
*/
export default function nullthrows<T>(value?: T | null, message?: string): T;