Files
2026-06-02 10:42:33 +08:00

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';
}