UNPKG

@ezdevlol/memfs

Version:

In-memory file-system with Node's fs API.

7 lines (6 loc) 219 B
import { assertName } from '../node-to-fsa/util'; export const assertType = (type, method, klass) => { const length = type.length; for (let i = 0; i < length; i++) assertName(type[i], method, klass); };