All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.cjs.utils.is.cjs Maven / Gradle / Ivy

Go to download

Responsive and accessible React UI components built with React and Emotion

The newest version!
"use strict";
'use strict';

function isObject(value) {
  const type = typeof value;
  return value != null && (type === "object" || type === "function") && !Array.isArray(value);
}
function isCssVar(value) {
  return /^var\(--.+\)$/.test(value);
}
function isString(value) {
  return Object.prototype.toString.call(value) === "[object String]";
}
function isFunction(value) {
  return typeof value === "function";
}

exports.isCssVar = isCssVar;
exports.isFunction = isFunction;
exports.isObject = isObject;
exports.isString = isString;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy