UNPKG

rubico

Version:

[a]synchronous functional programming

15 lines (12 loc) 308 B
/** * Rubico v2.8.3 * https://rubico.land/ * * © Richard Yufei Tong, King of Software * Rubico may be freely distributed under the CFOSS license. */ const isString = function (value) { return typeof value == 'string' || (value != null && value.constructor == String) } export default isString