UNPKG
@ezdevlol/memfs
Version:
latest (4.23.0)
4.23.0
In-memory file-system with Node's fs API.
github.com/streamich/memfs
streamich/memfs
@ezdevlol/memfs
/
lib
/
crud
/
util.js
7 lines
(6 loc)
•
219 B
JavaScript
View Raw
1
2
3
4
5
6
7
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
)
; };