MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / isArray

Function isArray

Apps/BabylonScripts/meshwriter.min.js:750–750  ·  view source on GitHub ↗
(ma)

Source from the content-addressed store, hash-verified

748 function isAmplitude(ma) { return typeof ma === "number" && !isNaN(ma) ? 0 <= ma && ma <= 1 : false };
749 function isObject(mo) { return mo != null && typeof mo === "object" || typeof mo === "function" };
750 function isArray(ma) { return ma != null && typeof ma === "object" && ma.constructor === Array };
751 function isString(ms) { return typeof ms === "string" ? ms.length > 0 : false };
752 function isSupportedFont(ff) { return isObject(FONTS[ff]) };
753 function isSupportedAnchor(a) { return a === "left" || a === "right" || a === "center" };

Callers 5

buildLetterMeshesFunction · 0.85
punchHolesInShapesFunction · 0.85
doubleMapFunction · 0.85
makeLetterSpecFunction · 0.85
codeListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected