Defines a value as the generic source type or null.
Generic source type.
import type { Nullable } from '@amjs/js-utils';type Sth = Nullable<string>; // typeof Sth = 'string | null' Copy
import type { Nullable } from '@amjs/js-utils';type Sth = Nullable<string>; // typeof Sth = 'string | null'
Defines a value as the generic source type or null.