588 B
588 B
Functions
isString
▸ isString(value: any): boolean
Defined in is/string.ts:19
name: isString
summary: Tests for a string.
description: Checks to see if the input value is a JavaScript string.
example:
import { isString } from '@polkadot/util';
console.log('isString', isString('test')); // => true
Parameters:
| Name | Type |
|---|---|
| value | any |
Returns: boolean