MCPcopy Create free account
hub / github.com/Selva-vignesh-7/CODSOFT / classesToArray

Function classesToArray

CR7-Page-main/javascript/jQuery.js:8373–8381  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

8371 }
8372
8373 function classesToArray(value) {
8374 if (Array.isArray(value)) {
8375 return value;
8376 }
8377 if (typeof value === "string") {
8378 return value.match(rnothtmlwhite) || [];
8379 }
8380 return [];
8381 }
8382
8383 jQuery.fn.extend({
8384 addClass: function (value) {

Callers 1

jQuery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected