UNPKG

rubico

Version:

[a]synchronous functional programming

14 lines (11 loc) 309 B
/** * rubico v2.6.2 * https://github.com/a-synchronous/rubico * (c) 2019-2024 Richard Tong * rubico may be freely distributed under the MIT license. */ const isString = function (value) { return typeof value == 'string' || (value != null && value.constructor == String) } export default isString