MCPcopy
hub / github.com/fkhadra/react-toastify / isStr

Function isStr

src/utils/propValidator.ts:6–6  ·  view source on GitHub ↗
(v: any)

Source from the content-addressed store, hash-verified

4export const isNum = (v: any): v is Number => typeof v === 'number' && !isNaN(v);
5
6export const isStr = (v: any): v is String => typeof v === 'string';
7
8export const isFn = (v: any): v is Function => typeof v === 'function';
9

Callers 7

renderContentFunction · 0.90
getToastIdFunction · 0.90
handlePromiseFunction · 0.90
resolverFunction · 0.90
isIdFunction · 0.85
parseClassNameFunction · 0.85
canBeRenderedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…