TypeScript type guard: narrows a Material to NodeMaterial when it belongs to the node family (see getMaterialFamily). A MaterialView over a node source also passes, since it inherits every node property through its prototype chain.
TypeScript type guard: narrows a Material to NodeMaterial when it belongs to the node family (see getMaterialFamily). A MaterialView over a node source also passes, since it inherits every node property through its prototype chain.