MCPcopy
hub / github.com/faker-js/faker / cssSupportedFunction

Method cssSupportedFunction

src/modules/color/index.ts:244–246  ·  view source on GitHub ↗

* Returns a random CSS-supported color function name. * * @example * faker.color.cssSupportedFunction() // 'rgb' * * @since 7.0.0

()

Source from the content-addressed store, hash-verified

242 * @since 7.0.0
243 */
244 cssSupportedFunction(): CssFunctionType {
245 return this.faker.helpers.enumValue(CssFunction);
246 }
247
248 /**
249 * Returns a random CSS-supported color space name.

Callers 1

color.spec.tsFile · 0.80

Calls 1

enumValueMethod · 0.80

Tested by

no test coverage detected