MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / isTime

Function isTime

packages/core/ui/styling/css-animation-parser.ts:117–117  ·  view source on GitHub ↗
(v: string)

Source from the content-addressed store, hash-verified

115 const MULTIPLE_SPLIT_RE = /,(?![^(]*\))/;
116
117 const isTime = (v: string) => !!v.match(/\dm?s$/g);
118 const isTimingFunction = (v: string) => !!v.match(/ease|linear|ease-in|ease-out|ease-in-out|spring|cubic-bezier/g);
119 const isIterationCount = (v: string) => !!v.match(/infinite|[\d.]+$/g);
120 const isDirection = (v: string) => !!v.match(/normal|reverse|alternate|alternate-reverse/g);

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected