11cb0ef41Sopenharmony_ci'use strict';
21cb0ef41Sopenharmony_ciconst {
31cb0ef41Sopenharmony_ci  ArrayPrototypeFilter,
41cb0ef41Sopenharmony_ci  ArrayPrototypeIncludes,
51cb0ef41Sopenharmony_ci  ObjectFromEntries,
61cb0ef41Sopenharmony_ci  ObjectEntries,
71cb0ef41Sopenharmony_ci  SafeArrayIterator,
81cb0ef41Sopenharmony_ci} = primordials;
91cb0ef41Sopenharmony_ciconst { types } = require('util');
101cb0ef41Sopenharmony_ci
111cb0ef41Sopenharmony_cimodule.exports = {
121cb0ef41Sopenharmony_ci  util() {
131cb0ef41Sopenharmony_ci    return ObjectFromEntries(new SafeArrayIterator(ArrayPrototypeFilter(
141cb0ef41Sopenharmony_ci      ObjectEntries(types),
151cb0ef41Sopenharmony_ci      ({ 0: key }) => {
161cb0ef41Sopenharmony_ci        return ArrayPrototypeIncludes([
171cb0ef41Sopenharmony_ci          'isArrayBuffer',
181cb0ef41Sopenharmony_ci          'isArrayBufferView',
191cb0ef41Sopenharmony_ci          'isAsyncFunction',
201cb0ef41Sopenharmony_ci          'isDataView',
211cb0ef41Sopenharmony_ci          'isDate',
221cb0ef41Sopenharmony_ci          'isExternal',
231cb0ef41Sopenharmony_ci          'isMap',
241cb0ef41Sopenharmony_ci          'isMapIterator',
251cb0ef41Sopenharmony_ci          'isNativeError',
261cb0ef41Sopenharmony_ci          'isPromise',
271cb0ef41Sopenharmony_ci          'isRegExp',
281cb0ef41Sopenharmony_ci          'isSet',
291cb0ef41Sopenharmony_ci          'isSetIterator',
301cb0ef41Sopenharmony_ci          'isTypedArray',
311cb0ef41Sopenharmony_ci          'isUint8Array',
321cb0ef41Sopenharmony_ci          'isAnyArrayBuffer',
331cb0ef41Sopenharmony_ci        ], key);
341cb0ef41Sopenharmony_ci      })));
351cb0ef41Sopenharmony_ci  },
361cb0ef41Sopenharmony_ci};
37