UNPKG
vanilla-type-check
Version:
latest (2.0.3)
2.0.3
2.0.2
2.0.1
2.0.0
1.0.1
1.0.0
Basic type checker
github.com/danikaze/npm-vanilla-type-check
danikaze/npm-vanilla-type-check
vanilla-type-check
/
isString.d.ts
8 lines
(7 loc)
•
184 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * Check
if
a value
is
a
string
* * @param value value
to
check * @returns `
true
`
if
`obj`
is
a
string
*/ export
declare
function
isString(value: any): value
is
string
;