silverwolf-x/project / packages /font /src /format-available-values.ts
silverwolf-x's picture
download
raw
229 Bytes
/**
* Formats an array of values into a string that can be used error messages.
* ["a", "b", "c"] => "`a`, `b`, `c`"
*/
export const formatAvailableValues = (values: string[]) =>
values.map((val) => `\`${val}\``).join(', ')

Xet Storage Details

Size:
229 Bytes
·
Xet hash:
2df047f9855faef0acb61f1ee75ce8242db8a439bedcd8fb4295f0e4a398f638

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.