fx-flow v0.7.0 / pipe/strict / isString
Function: isString()
isString<
A
>(args
):args is Include<A, string>
Check whether args
is a string.
Type parameters
• A
Parameters
• args: A
Returns
args is Include<A, string>
Example
typescript
isString("a"); // true
isString(2); // false