12 lines
302 B
Plaintext
12 lines
302 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
Object.defineProperty(exports, "default", {
|
|
enumerable: true,
|
|
get: ()=>toColorValue
|
|
});
|
|
function toColorValue(maybeFunction) {
|
|
return typeof maybeFunction === "function" ? maybeFunction({}) : maybeFunction;
|
|
}
|