MCPcopy Create free account
hub / github.com/bendc/animateplus / extractStrings

Function extractStrings

animateplus.js:208–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206const extractRegExp = /-?\d*\.?\d+/g;
207
208const extractStrings = value =>
209 value.split(extractRegExp);
210
211const extractNumbers = value =>
212 value.match(extractRegExp).map(Number);

Callers 1

addPropertyKeyframesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected