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

package.dist.esm.utils.is.js Maven / Gradle / Ivy

Go to download

Responsive and accessible React UI components built with React and Emotion

The newest version!
"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";
}

export { isCssVar, isFunction, isObject, isString };




© 2015 - 2025 Weber Informatics LLC | Privacy Policy