UNPKG

@flex-development/tutils

Version:
14 lines (13 loc) 408 B
/** * @file Type Guards - isNumberString * @module tutils/guards/isNumberString */ import type { NumberString } from '../types/index.mjs'; /** * Checks if `value` is a `number` or `string`. * * @param {any} [value] - Value to check * @return {boolean} `true` if `value` is a `number` or `string` */ declare const isNumberString: (value?: any) => value is NumberString; export default isNumberString;