MCPcopy
hub / github.com/microsoft/SandDance / array

Function array

docs/app/js/sanddance-app.js:106731–106735  ·  view source on GitHub ↗
(_)

Source from the content-addressed store, hash-verified

106729 return 1 + ~~(new Date(date).getUTCMonth() / 3);
106730}
106731function array(_) {
106732 return _ != null ? isArray(_) ? _ : [
106733 _
106734 ] : [];
106735}
106736/**
106737 * Span-preserving range clamp. If the span of the input range is less
106738 * than (max - min) and an endpoint exceeds either the min or max value,

Callers 7

compareFunction · 0.70
keyFunction · 0.70
BitmapsFunction · 0.70
resizeFunction · 0.70
sequenceFunction · 0.70
joinFunction · 0.70
reverseFunction · 0.70

Calls 2

isArrayFunction · 0.70
setMethod · 0.45

Tested by

no test coverage detected