Not empty array, object or string.
const notEmptyString: NotEmpty<string> = "🟢";const notEmptyArray: NotEmpty<ReadOnlyArray> = ["🟢", "🟩"];const notEmptyRecord: NotEmpty<ReadOnlyRecord> = { "🟢": "🟩" };
Not empty array, object or string.
Example