mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
4 lines
137 B
Plaintext
4 lines
137 B
Plaintext
export default function toColorValue(maybeFunction) {
|
|
return typeof maybeFunction === 'function' ? maybeFunction({}) : maybeFunction
|
|
}
|