MCPcopy Create free account
hub / github.com/asm-js/validator / nonEmpty

Function nonEmpty

lib/validate.js:30–32  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

28
29// (Statement) -> boolean
30function nonEmpty(s) {
31 return s.type !== 'EmptyStatement';
32}
33
34// ([AST], [{ name: string, type: string }]) -> { string: AST, ... }
35function split(nodes, filters) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected