mirror of
https://github.com/mivodev/mivodev.github.io.git
synced 2026-01-26 21:41:53 +07:00
6 lines
167 B
JavaScript
6 lines
167 B
JavaScript
import { getType } from './getType.js';
|
|
/** Returns whether the payload is a string */
|
|
export function isString(payload) {
|
|
return getType(payload) === 'String';
|
|
}
|