Skip to content
On this page

isHexColor

判断是否为 16 进制颜色

引入方式

ESM

javascript
import { isFunction } from "tool-assistant;

示例

javascript
import { isHexColor } from "tool-assistant";

function _yourFun() {
  let boolean = isHexColor("rgb(255,255,255)");
}

Released under the MIT License.