MCPcopy Create free account
hub / github.com/microsoft/SandDance / array

Function array

docs/tests/v3/es6/js/sanddance-test-es6.js:54662–54666  ·  view source on GitHub ↗
(_)

Source from the content-addressed store, hash-verified

54660 return 1 + ~~(new Date(date).getUTCMonth() / 3);
54661}
54662function array(_) {
54663 return _ != null ? isArray(_) ? _ : [
54664 _
54665 ] : [];
54666}
54667/**
54668 * Span-preserving range clamp. If the span of the input range is less
54669 * 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