Checks if the given value is String (opens in a new tab).
Syntax
import { isStr } from '@opentf/std';
isStr(value: unknown): boolean;
Examples
isStr('abc') //=> true
isStr(String(1)) //=> true
isStr(1) //=> false
Checks if the given value is String (opens in a new tab).
import { isStr } from '@opentf/std';
isStr(value: unknown): boolean;
isStr('abc') //=> true
isStr(String(1)) //=> true
isStr(1) //=> false