MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / isStringWithValue

Function isStringWithValue

frontend/src/client/core/request.ts:15–17  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

13}
14
15export const isStringWithValue = (value: unknown): value is string => {
16 return isString(value) && value !== ''
17}
18
19export const isBlob = (value: any): value is Blob => {
20 return value instanceof Blob

Callers 1

getHeadersFunction · 0.85

Calls 1

isStringFunction · 0.85

Tested by

no test coverage detected