Skip to content

cupertino-files / isColorLike

Function: isColorLike() ​

isColorLike(message): boolean

Defined in: src/tsd/style.ts:63

True when the message looks like a TSP.Color (has a model or channels).

Parameters ​

message ​

RawMessage

Returns ​

boolean

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.