@ohos-ports/stdlib-assert 0.0.0-stage → 0.4.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +177 -0
- package/NOTICE +1 -0
- package/README.md +1350 -2
- package/SECURITY.md +5 -0
- package/contains/README.md +173 -0
- package/contains/docs/repl.txt +57 -0
- package/contains/docs/types/index.d.ts +74 -0
- package/contains/docs/types/test.ts +51 -0
- package/contains/lib/index.js +49 -0
- package/contains/lib/main.js +106 -0
- package/contains/package.json +70 -0
- package/deep-equal/README.md +135 -0
- package/deep-equal/docs/repl.txt +31 -0
- package/deep-equal/docs/types/index.d.ts +53 -0
- package/deep-equal/docs/types/test.ts +36 -0
- package/deep-equal/lib/index.js +46 -0
- package/deep-equal/lib/main.js +132 -0
- package/deep-equal/package.json +70 -0
- package/deep-has-own-property/README.md +284 -0
- package/deep-has-own-property/docs/repl.txt +73 -0
- package/deep-has-own-property/docs/types/index.d.ts +174 -0
- package/deep-has-own-property/docs/types/test.ts +111 -0
- package/deep-has-own-property/lib/defaults.js +38 -0
- package/deep-has-own-property/lib/factory.js +94 -0
- package/deep-has-own-property/lib/has.js +55 -0
- package/deep-has-own-property/lib/index.js +76 -0
- package/deep-has-own-property/lib/main.js +109 -0
- package/deep-has-own-property/lib/validate.js +66 -0
- package/deep-has-own-property/package.json +76 -0
- package/deep-has-property/README.md +280 -0
- package/deep-has-property/docs/repl.txt +72 -0
- package/deep-has-property/docs/types/index.d.ts +181 -0
- package/deep-has-property/docs/types/test.ts +111 -0
- package/deep-has-property/lib/defaults.js +38 -0
- package/deep-has-property/lib/factory.js +94 -0
- package/deep-has-property/lib/has.js +55 -0
- package/deep-has-property/lib/index.js +82 -0
- package/deep-has-property/lib/main.js +119 -0
- package/deep-has-property/lib/validate.js +66 -0
- package/deep-has-property/package.json +78 -0
- package/docs/types/index.d.ts +8468 -0
- package/has-arraybuffer-support/README.md +165 -0
- package/has-arraybuffer-support/bin/cli +60 -0
- package/has-arraybuffer-support/docs/repl.txt +17 -0
- package/has-arraybuffer-support/docs/types/index.d.ts +35 -0
- package/has-arraybuffer-support/docs/types/test.ts +33 -0
- package/has-arraybuffer-support/docs/usage.txt +8 -0
- package/has-arraybuffer-support/etc/cli_opts.json +15 -0
- package/has-arraybuffer-support/lib/arraybuffer.js +28 -0
- package/has-arraybuffer-support/lib/index.js +40 -0
- package/has-arraybuffer-support/lib/main.js +72 -0
- package/has-arraybuffer-support/package.json +79 -0
- package/has-arrow-function-support/README.md +135 -0
- package/has-arrow-function-support/bin/cli +60 -0
- package/has-arrow-function-support/docs/repl.txt +17 -0
- package/has-arrow-function-support/docs/types/index.d.ts +35 -0
- package/has-arrow-function-support/docs/types/test.ts +33 -0
- package/has-arrow-function-support/docs/usage.txt +7 -0
- package/has-arrow-function-support/etc/cli_opts.json +14 -0
- package/has-arrow-function-support/lib/index.js +40 -0
- package/has-arrow-function-support/lib/main.js +51 -0
- package/has-arrow-function-support/package.json +77 -0
- package/has-async-await-support/README.md +137 -0
- package/has-async-await-support/bin/cli +60 -0
- package/has-async-await-support/docs/repl.txt +17 -0
- package/has-async-await-support/docs/types/index.d.ts +39 -0
- package/has-async-await-support/docs/types/test.ts +33 -0
- package/has-async-await-support/docs/usage.txt +8 -0
- package/has-async-await-support/etc/cli_opts.json +15 -0
- package/has-async-await-support/lib/index.js +44 -0
- package/has-async-await-support/lib/main.js +55 -0
- package/has-async-await-support/package.json +77 -0
- package/has-async-iterator-symbol-support/README.md +144 -0
- package/has-async-iterator-symbol-support/bin/cli +60 -0
- package/has-async-iterator-symbol-support/docs/repl.txt +18 -0
- package/has-async-iterator-symbol-support/docs/types/index.d.ts +35 -0
- package/has-async-iterator-symbol-support/docs/types/test.ts +33 -0
- package/has-async-iterator-symbol-support/docs/usage.txt +8 -0
- package/has-async-iterator-symbol-support/etc/cli_opts.json +14 -0
- package/has-async-iterator-symbol-support/lib/index.js +40 -0
- package/has-async-iterator-symbol-support/lib/main.js +51 -0
- package/has-async-iterator-symbol-support/package.json +75 -0
- package/has-atob-support/README.md +135 -0
- package/has-atob-support/bin/cli +60 -0
- package/has-atob-support/docs/repl.txt +17 -0
- package/has-atob-support/docs/types/index.d.ts +35 -0
- package/has-atob-support/docs/types/test.ts +33 -0
- package/has-atob-support/docs/usage.txt +8 -0
- package/has-atob-support/etc/cli_opts.json +14 -0
- package/has-atob-support/lib/atob.js +28 -0
- package/has-atob-support/lib/index.js +40 -0
- package/has-atob-support/lib/main.js +63 -0
- package/has-atob-support/package.json +73 -0
- package/has-bigint-support/README.md +122 -0
- package/has-bigint-support/bin/cli +60 -0
- package/has-bigint-support/docs/repl.txt +17 -0
- package/has-bigint-support/docs/types/index.d.ts +35 -0
- package/has-bigint-support/docs/types/test.ts +33 -0
- package/has-bigint-support/docs/usage.txt +8 -0
- package/has-bigint-support/etc/cli_opts.json +14 -0
- package/has-bigint-support/lib/index.js +40 -0
- package/has-bigint-support/lib/main.js +54 -0
- package/has-bigint-support/package.json +72 -0
- package/has-bigint64array-support/README.md +138 -0
- package/has-bigint64array-support/bin/cli +60 -0
- package/has-bigint64array-support/docs/repl.txt +17 -0
- package/has-bigint64array-support/docs/types/index.d.ts +35 -0
- package/has-bigint64array-support/docs/types/test.ts +33 -0
- package/has-bigint64array-support/docs/usage.txt +8 -0
- package/has-bigint64array-support/etc/cli_opts.json +14 -0
- package/has-bigint64array-support/lib/bigint64array.js +28 -0
- package/has-bigint64array-support/lib/index.js +40 -0
- package/has-bigint64array-support/lib/main.js +71 -0
- package/has-bigint64array-support/package.json +75 -0
- package/has-biguint64array-support/README.md +138 -0
- package/has-biguint64array-support/bin/cli +60 -0
- package/has-biguint64array-support/docs/repl.txt +17 -0
- package/has-biguint64array-support/docs/types/index.d.ts +35 -0
- package/has-biguint64array-support/docs/types/test.ts +33 -0
- package/has-biguint64array-support/docs/usage.txt +8 -0
- package/has-biguint64array-support/etc/cli_opts.json +14 -0
- package/has-biguint64array-support/lib/biguint64array.js +28 -0
- package/has-biguint64array-support/lib/index.js +40 -0
- package/has-biguint64array-support/lib/main.js +71 -0
- package/has-biguint64array-support/package.json +75 -0
- package/has-btoa-support/README.md +135 -0
- package/has-btoa-support/bin/cli +60 -0
- package/has-btoa-support/docs/repl.txt +17 -0
- package/has-btoa-support/docs/types/index.d.ts +35 -0
- package/has-btoa-support/docs/types/test.ts +33 -0
- package/has-btoa-support/docs/usage.txt +8 -0
- package/has-btoa-support/etc/cli_opts.json +14 -0
- package/has-btoa-support/lib/btoa.js +28 -0
- package/has-btoa-support/lib/index.js +40 -0
- package/has-btoa-support/lib/main.js +63 -0
- package/has-btoa-support/package.json +73 -0
- package/has-class-support/README.md +135 -0
- package/has-class-support/bin/cli +60 -0
- package/has-class-support/docs/repl.txt +17 -0
- package/has-class-support/docs/types/index.d.ts +39 -0
- package/has-class-support/docs/types/test.ts +33 -0
- package/has-class-support/docs/usage.txt +8 -0
- package/has-class-support/etc/cli_opts.json +14 -0
- package/has-class-support/lib/index.js +44 -0
- package/has-class-support/lib/main.js +55 -0
- package/has-class-support/package.json +76 -0
- package/has-dataview-support/README.md +135 -0
- package/has-dataview-support/bin/cli +60 -0
- package/has-dataview-support/docs/repl.txt +17 -0
- package/has-dataview-support/docs/types/index.d.ts +35 -0
- package/has-dataview-support/docs/types/test.ts +33 -0
- package/has-dataview-support/docs/usage.txt +8 -0
- package/has-dataview-support/etc/cli_opts.json +15 -0
- package/has-dataview-support/lib/dataview.js +28 -0
- package/has-dataview-support/lib/index.js +40 -0
- package/has-dataview-support/lib/main.js +73 -0
- package/has-dataview-support/package.json +83 -0
- package/has-define-properties-support/README.md +139 -0
- package/has-define-properties-support/bin/cli +60 -0
- package/has-define-properties-support/docs/repl.txt +18 -0
- package/has-define-properties-support/docs/types/index.d.ts +35 -0
- package/has-define-properties-support/docs/types/test.ts +33 -0
- package/has-define-properties-support/docs/usage.txt +8 -0
- package/has-define-properties-support/etc/cli_opts.json +15 -0
- package/has-define-properties-support/lib/define_properties.js +28 -0
- package/has-define-properties-support/lib/index.js +40 -0
- package/has-define-properties-support/lib/main.js +52 -0
- package/has-define-properties-support/package.json +71 -0
- package/has-define-property-support/README.md +135 -0
- package/has-define-property-support/bin/cli +60 -0
- package/has-define-property-support/docs/repl.txt +18 -0
- package/has-define-property-support/docs/types/index.d.ts +35 -0
- package/has-define-property-support/docs/types/test.ts +33 -0
- package/has-define-property-support/docs/usage.txt +8 -0
- package/has-define-property-support/etc/cli_opts.json +15 -0
- package/has-define-property-support/lib/define_property.js +28 -0
- package/has-define-property-support/lib/index.js +40 -0
- package/has-define-property-support/lib/main.js +50 -0
- package/has-define-property-support/package.json +71 -0
- package/has-float16array-support/README.md +123 -0
- package/has-float16array-support/bin/cli +60 -0
- package/has-float16array-support/docs/repl.txt +17 -0
- package/has-float16array-support/docs/types/index.d.ts +35 -0
- package/has-float16array-support/docs/types/test.ts +33 -0
- package/has-float16array-support/docs/usage.txt +8 -0
- package/has-float16array-support/etc/cli_opts.json +14 -0
- package/has-float16array-support/lib/float16array.js +28 -0
- package/has-float16array-support/lib/index.js +40 -0
- package/has-float16array-support/lib/main.js +68 -0
- package/has-float16array-support/package.json +74 -0
- package/has-float32array-support/README.md +123 -0
- package/has-float32array-support/bin/cli +60 -0
- package/has-float32array-support/docs/repl.txt +17 -0
- package/has-float32array-support/docs/types/index.d.ts +35 -0
- package/has-float32array-support/docs/types/test.ts +33 -0
- package/has-float32array-support/docs/usage.txt +8 -0
- package/has-float32array-support/etc/cli_opts.json +14 -0
- package/has-float32array-support/lib/float32array.js +28 -0
- package/has-float32array-support/lib/index.js +40 -0
- package/has-float32array-support/lib/main.js +65 -0
- package/has-float32array-support/package.json +75 -0
- package/has-float64array-support/README.md +123 -0
- package/has-float64array-support/bin/cli +60 -0
- package/has-float64array-support/docs/repl.txt +17 -0
- package/has-float64array-support/docs/types/index.d.ts +35 -0
- package/has-float64array-support/docs/types/test.ts +33 -0
- package/has-float64array-support/docs/usage.txt +8 -0
- package/has-float64array-support/etc/cli_opts.json +14 -0
- package/has-float64array-support/lib/float64array.js +28 -0
- package/has-float64array-support/lib/index.js +40 -0
- package/has-float64array-support/lib/main.js +64 -0
- package/has-float64array-support/package.json +75 -0
- package/has-function-name-support/README.md +123 -0
- package/has-function-name-support/bin/cli +60 -0
- package/has-function-name-support/docs/repl.txt +17 -0
- package/has-function-name-support/docs/types/index.d.ts +35 -0
- package/has-function-name-support/docs/types/test.ts +33 -0
- package/has-function-name-support/docs/usage.txt +8 -0
- package/has-function-name-support/etc/cli_opts.json +14 -0
- package/has-function-name-support/lib/foo.js +33 -0
- package/has-function-name-support/lib/index.js +40 -0
- package/has-function-name-support/lib/main.js +44 -0
- package/has-function-name-support/package.json +74 -0
- package/has-generator-support/README.md +135 -0
- package/has-generator-support/bin/cli +60 -0
- package/has-generator-support/docs/repl.txt +17 -0
- package/has-generator-support/docs/types/index.d.ts +35 -0
- package/has-generator-support/docs/types/test.ts +33 -0
- package/has-generator-support/docs/usage.txt +7 -0
- package/has-generator-support/etc/cli_opts.json +14 -0
- package/has-generator-support/lib/index.js +40 -0
- package/has-generator-support/lib/main.js +51 -0
- package/has-generator-support/package.json +77 -0
- package/has-globalthis-support/README.md +135 -0
- package/has-globalthis-support/bin/cli +60 -0
- package/has-globalthis-support/docs/repl.txt +17 -0
- package/has-globalthis-support/docs/types/index.d.ts +35 -0
- package/has-globalthis-support/docs/types/test.ts +33 -0
- package/has-globalthis-support/docs/usage.txt +8 -0
- package/has-globalthis-support/etc/cli_opts.json +14 -0
- package/has-globalthis-support/lib/index.js +40 -0
- package/has-globalthis-support/lib/main.js +42 -0
- package/has-globalthis-support/package.json +74 -0
- package/has-has-instance-symbol-support/README.md +129 -0
- package/has-has-instance-symbol-support/bin/cli +60 -0
- package/has-has-instance-symbol-support/docs/repl.txt +18 -0
- package/has-has-instance-symbol-support/docs/types/index.d.ts +35 -0
- package/has-has-instance-symbol-support/docs/types/test.ts +33 -0
- package/has-has-instance-symbol-support/docs/usage.txt +8 -0
- package/has-has-instance-symbol-support/etc/cli_opts.json +14 -0
- package/has-has-instance-symbol-support/lib/index.js +40 -0
- package/has-has-instance-symbol-support/lib/main.js +50 -0
- package/has-has-instance-symbol-support/package.json +75 -0
- package/has-int16array-support/README.md +123 -0
- package/has-int16array-support/bin/cli +60 -0
- package/has-int16array-support/docs/repl.txt +17 -0
- package/has-int16array-support/docs/types/index.d.ts +35 -0
- package/has-int16array-support/docs/types/test.ts +33 -0
- package/has-int16array-support/docs/usage.txt +8 -0
- package/has-int16array-support/etc/cli_opts.json +14 -0
- package/has-int16array-support/lib/index.js +40 -0
- package/has-int16array-support/lib/int16array.js +28 -0
- package/has-int16array-support/lib/main.js +66 -0
- package/has-int16array-support/package.json +75 -0
- package/has-int32array-support/README.md +123 -0
- package/has-int32array-support/bin/cli +60 -0
- package/has-int32array-support/docs/repl.txt +17 -0
- package/has-int32array-support/docs/types/index.d.ts +35 -0
- package/has-int32array-support/docs/types/test.ts +33 -0
- package/has-int32array-support/docs/usage.txt +8 -0
- package/has-int32array-support/etc/cli_opts.json +14 -0
- package/has-int32array-support/lib/index.js +40 -0
- package/has-int32array-support/lib/int32array.js +28 -0
- package/has-int32array-support/lib/main.js +66 -0
- package/has-int32array-support/package.json +75 -0
- package/has-int8array-support/README.md +123 -0
- package/has-int8array-support/bin/cli +60 -0
- package/has-int8array-support/docs/repl.txt +17 -0
- package/has-int8array-support/docs/types/index.d.ts +35 -0
- package/has-int8array-support/docs/types/test.ts +33 -0
- package/has-int8array-support/docs/usage.txt +8 -0
- package/has-int8array-support/etc/cli_opts.json +14 -0
- package/has-int8array-support/lib/index.js +40 -0
- package/has-int8array-support/lib/int8array.js +28 -0
- package/has-int8array-support/lib/main.js +66 -0
- package/has-int8array-support/package.json +75 -0
- package/has-is-concat-spreadable-symbol-support/README.md +129 -0
- package/has-is-concat-spreadable-symbol-support/bin/cli +60 -0
- package/has-is-concat-spreadable-symbol-support/docs/repl.txt +18 -0
- package/has-is-concat-spreadable-symbol-support/docs/types/index.d.ts +35 -0
- package/has-is-concat-spreadable-symbol-support/docs/types/test.ts +33 -0
- package/has-is-concat-spreadable-symbol-support/docs/usage.txt +8 -0
- package/has-is-concat-spreadable-symbol-support/etc/cli_opts.json +14 -0
- package/has-is-concat-spreadable-symbol-support/lib/index.js +40 -0
- package/has-is-concat-spreadable-symbol-support/lib/main.js +50 -0
- package/has-is-concat-spreadable-symbol-support/package.json +75 -0
- package/has-iterator-symbol-support/README.md +138 -0
- package/has-iterator-symbol-support/bin/cli +60 -0
- package/has-iterator-symbol-support/docs/repl.txt +18 -0
- package/has-iterator-symbol-support/docs/types/index.d.ts +35 -0
- package/has-iterator-symbol-support/docs/types/test.ts +33 -0
- package/has-iterator-symbol-support/docs/usage.txt +8 -0
- package/has-iterator-symbol-support/etc/cli_opts.json +14 -0
- package/has-iterator-symbol-support/lib/index.js +40 -0
- package/has-iterator-symbol-support/lib/main.js +50 -0
- package/has-iterator-symbol-support/package.json +75 -0
- package/has-map-support/README.md +123 -0
- package/has-map-support/bin/cli +60 -0
- package/has-map-support/docs/repl.txt +17 -0
- package/has-map-support/docs/types/index.d.ts +35 -0
- package/has-map-support/docs/types/test.ts +33 -0
- package/has-map-support/docs/usage.txt +8 -0
- package/has-map-support/etc/cli_opts.json +14 -0
- package/has-map-support/lib/index.js +40 -0
- package/has-map-support/lib/main.js +63 -0
- package/has-map-support/lib/map.js +28 -0
- package/has-map-support/package.json +73 -0
- package/has-match-symbol-support/README.md +129 -0
- package/has-match-symbol-support/bin/cli +60 -0
- package/has-match-symbol-support/docs/repl.txt +18 -0
- package/has-match-symbol-support/docs/types/index.d.ts +35 -0
- package/has-match-symbol-support/docs/types/test.ts +33 -0
- package/has-match-symbol-support/docs/usage.txt +8 -0
- package/has-match-symbol-support/etc/cli_opts.json +14 -0
- package/has-match-symbol-support/lib/index.js +40 -0
- package/has-match-symbol-support/lib/main.js +50 -0
- package/has-match-symbol-support/package.json +74 -0
- package/has-node-buffer-support/README.md +123 -0
- package/has-node-buffer-support/bin/cli +60 -0
- package/has-node-buffer-support/docs/repl.txt +17 -0
- package/has-node-buffer-support/docs/types/index.d.ts +35 -0
- package/has-node-buffer-support/docs/types/test.ts +33 -0
- package/has-node-buffer-support/docs/usage.txt +8 -0
- package/has-node-buffer-support/etc/cli_opts.json +15 -0
- package/has-node-buffer-support/lib/buffer.js +28 -0
- package/has-node-buffer-support/lib/index.js +40 -0
- package/has-node-buffer-support/lib/main.js +68 -0
- package/has-node-buffer-support/package.json +74 -0
- package/has-own-property/README.md +172 -0
- package/has-own-property/docs/repl.txt +36 -0
- package/has-own-property/docs/types/index.d.ts +49 -0
- package/has-own-property/docs/types/test.ts +38 -0
- package/has-own-property/lib/index.js +47 -0
- package/has-own-property/lib/main.js +64 -0
- package/has-own-property/package.json +71 -0
- package/has-property/README.md +163 -0
- package/has-property/docs/repl.txt +34 -0
- package/has-property/docs/types/index.d.ts +49 -0
- package/has-property/docs/types/test.ts +38 -0
- package/has-property/lib/index.js +47 -0
- package/has-property/lib/main.js +59 -0
- package/has-property/package.json +75 -0
- package/has-proxy-support/README.md +135 -0
- package/has-proxy-support/bin/cli +60 -0
- package/has-proxy-support/docs/repl.txt +17 -0
- package/has-proxy-support/docs/types/index.d.ts +35 -0
- package/has-proxy-support/docs/types/test.ts +33 -0
- package/has-proxy-support/docs/usage.txt +7 -0
- package/has-proxy-support/etc/cli_opts.json +14 -0
- package/has-proxy-support/lib/index.js +40 -0
- package/has-proxy-support/lib/main.js +51 -0
- package/has-proxy-support/package.json +76 -0
- package/has-replace-symbol-support/README.md +129 -0
- package/has-replace-symbol-support/bin/cli +60 -0
- package/has-replace-symbol-support/docs/repl.txt +18 -0
- package/has-replace-symbol-support/docs/types/index.d.ts +35 -0
- package/has-replace-symbol-support/docs/types/test.ts +33 -0
- package/has-replace-symbol-support/docs/usage.txt +8 -0
- package/has-replace-symbol-support/etc/cli_opts.json +14 -0
- package/has-replace-symbol-support/lib/index.js +40 -0
- package/has-replace-symbol-support/lib/main.js +50 -0
- package/has-replace-symbol-support/package.json +74 -0
- package/has-search-symbol-support/README.md +123 -0
- package/has-search-symbol-support/bin/cli +60 -0
- package/has-search-symbol-support/docs/repl.txt +18 -0
- package/has-search-symbol-support/docs/types/index.d.ts +35 -0
- package/has-search-symbol-support/docs/types/test.ts +33 -0
- package/has-search-symbol-support/docs/usage.txt +7 -0
- package/has-search-symbol-support/etc/cli_opts.json +14 -0
- package/has-search-symbol-support/lib/index.js +40 -0
- package/has-search-symbol-support/lib/main.js +50 -0
- package/has-search-symbol-support/package.json +75 -0
- package/has-set-support/README.md +123 -0
- package/has-set-support/bin/cli +60 -0
- package/has-set-support/docs/repl.txt +17 -0
- package/has-set-support/docs/types/index.d.ts +35 -0
- package/has-set-support/docs/types/test.ts +33 -0
- package/has-set-support/docs/usage.txt +8 -0
- package/has-set-support/etc/cli_opts.json +14 -0
- package/has-set-support/lib/index.js +40 -0
- package/has-set-support/lib/main.js +61 -0
- package/has-set-support/lib/set.js +28 -0
- package/has-set-support/package.json +73 -0
- package/has-sharedarraybuffer-support/README.md +171 -0
- package/has-sharedarraybuffer-support/bin/cli +60 -0
- package/has-sharedarraybuffer-support/docs/repl.txt +17 -0
- package/has-sharedarraybuffer-support/docs/types/index.d.ts +35 -0
- package/has-sharedarraybuffer-support/docs/types/test.ts +33 -0
- package/has-sharedarraybuffer-support/docs/usage.txt +8 -0
- package/has-sharedarraybuffer-support/etc/cli_opts.json +15 -0
- package/has-sharedarraybuffer-support/lib/index.js +40 -0
- package/has-sharedarraybuffer-support/lib/main.js +65 -0
- package/has-sharedarraybuffer-support/lib/sharedarraybuffer.js +28 -0
- package/has-sharedarraybuffer-support/package.json +81 -0
- package/has-split-symbol-support/README.md +123 -0
- package/has-split-symbol-support/bin/cli +60 -0
- package/has-split-symbol-support/docs/repl.txt +18 -0
- package/has-split-symbol-support/docs/types/index.d.ts +35 -0
- package/has-split-symbol-support/docs/types/test.ts +33 -0
- package/has-split-symbol-support/docs/usage.txt +8 -0
- package/has-split-symbol-support/etc/cli_opts.json +14 -0
- package/has-split-symbol-support/lib/index.js +40 -0
- package/has-split-symbol-support/lib/main.js +50 -0
- package/has-split-symbol-support/package.json +75 -0
- package/has-symbol-support/README.md +135 -0
- package/has-symbol-support/bin/cli +60 -0
- package/has-symbol-support/docs/repl.txt +17 -0
- package/has-symbol-support/docs/types/index.d.ts +35 -0
- package/has-symbol-support/docs/types/test.ts +33 -0
- package/has-symbol-support/docs/usage.txt +8 -0
- package/has-symbol-support/etc/cli_opts.json +14 -0
- package/has-symbol-support/lib/index.js +40 -0
- package/has-symbol-support/lib/main.js +42 -0
- package/has-symbol-support/package.json +73 -0
- package/has-to-primitive-symbol-support/README.md +129 -0
- package/has-to-primitive-symbol-support/bin/cli +60 -0
- package/has-to-primitive-symbol-support/docs/repl.txt +18 -0
- package/has-to-primitive-symbol-support/docs/types/index.d.ts +35 -0
- package/has-to-primitive-symbol-support/docs/types/test.ts +33 -0
- package/has-to-primitive-symbol-support/docs/usage.txt +8 -0
- package/has-to-primitive-symbol-support/etc/cli_opts.json +14 -0
- package/has-to-primitive-symbol-support/lib/index.js +40 -0
- package/has-to-primitive-symbol-support/lib/main.js +50 -0
- package/has-to-primitive-symbol-support/package.json +74 -0
- package/has-tostringtag-support/README.md +123 -0
- package/has-tostringtag-support/bin/cli +60 -0
- package/has-tostringtag-support/docs/repl.txt +17 -0
- package/has-tostringtag-support/docs/types/index.d.ts +35 -0
- package/has-tostringtag-support/docs/types/test.ts +33 -0
- package/has-tostringtag-support/docs/usage.txt +8 -0
- package/has-tostringtag-support/etc/cli_opts.json +14 -0
- package/has-tostringtag-support/lib/index.js +40 -0
- package/has-tostringtag-support/lib/main.js +49 -0
- package/has-tostringtag-support/package.json +77 -0
- package/has-uint16array-support/README.md +123 -0
- package/has-uint16array-support/bin/cli +60 -0
- package/has-uint16array-support/docs/repl.txt +17 -0
- package/has-uint16array-support/docs/types/index.d.ts +35 -0
- package/has-uint16array-support/docs/types/test.ts +33 -0
- package/has-uint16array-support/docs/usage.txt +8 -0
- package/has-uint16array-support/etc/cli_opts.json +14 -0
- package/has-uint16array-support/lib/index.js +40 -0
- package/has-uint16array-support/lib/main.js +67 -0
- package/has-uint16array-support/lib/uint16array.js +28 -0
- package/has-uint16array-support/package.json +75 -0
- package/has-uint32array-support/README.md +123 -0
- package/has-uint32array-support/bin/cli +60 -0
- package/has-uint32array-support/docs/repl.txt +17 -0
- package/has-uint32array-support/docs/types/index.d.ts +35 -0
- package/has-uint32array-support/docs/types/test.ts +33 -0
- package/has-uint32array-support/docs/usage.txt +8 -0
- package/has-uint32array-support/etc/cli_opts.json +14 -0
- package/has-uint32array-support/lib/index.js +40 -0
- package/has-uint32array-support/lib/main.js +67 -0
- package/has-uint32array-support/lib/uint32array.js +28 -0
- package/has-uint32array-support/package.json +75 -0
- package/has-uint8array-support/README.md +123 -0
- package/has-uint8array-support/bin/cli +60 -0
- package/has-uint8array-support/docs/repl.txt +17 -0
- package/has-uint8array-support/docs/types/index.d.ts +35 -0
- package/has-uint8array-support/docs/types/test.ts +33 -0
- package/has-uint8array-support/docs/usage.txt +8 -0
- package/has-uint8array-support/etc/cli_opts.json +14 -0
- package/has-uint8array-support/lib/index.js +40 -0
- package/has-uint8array-support/lib/main.js +67 -0
- package/has-uint8array-support/lib/uint8array.js +28 -0
- package/has-uint8array-support/package.json +75 -0
- package/has-uint8clampedarray-support/README.md +129 -0
- package/has-uint8clampedarray-support/bin/cli +60 -0
- package/has-uint8clampedarray-support/docs/repl.txt +17 -0
- package/has-uint8clampedarray-support/docs/types/index.d.ts +35 -0
- package/has-uint8clampedarray-support/docs/types/test.ts +33 -0
- package/has-uint8clampedarray-support/docs/usage.txt +8 -0
- package/has-uint8clampedarray-support/etc/cli_opts.json +14 -0
- package/has-uint8clampedarray-support/lib/index.js +40 -0
- package/has-uint8clampedarray-support/lib/main.js +67 -0
- package/has-uint8clampedarray-support/lib/uint8clampedarray.js +28 -0
- package/has-uint8clampedarray-support/package.json +75 -0
- package/has-utf16-surrogate-pair-at/README.md +146 -0
- package/has-utf16-surrogate-pair-at/bin/cli +88 -0
- package/has-utf16-surrogate-pair-at/docs/repl.txt +27 -0
- package/has-utf16-surrogate-pair-at/docs/types/index.d.ts +44 -0
- package/has-utf16-surrogate-pair-at/docs/types/test.ts +45 -0
- package/has-utf16-surrogate-pair-at/docs/usage.txt +8 -0
- package/has-utf16-surrogate-pair-at/etc/cli_opts.json +18 -0
- package/has-utf16-surrogate-pair-at/lib/index.js +43 -0
- package/has-utf16-surrogate-pair-at/lib/main.js +80 -0
- package/has-utf16-surrogate-pair-at/package.json +72 -0
- package/has-wasm-support/README.md +123 -0
- package/has-wasm-support/bin/cli +60 -0
- package/has-wasm-support/docs/repl.txt +17 -0
- package/has-wasm-support/docs/types/index.d.ts +35 -0
- package/has-wasm-support/docs/types/test.ts +33 -0
- package/has-wasm-support/docs/usage.txt +8 -0
- package/has-wasm-support/etc/cli_opts.json +14 -0
- package/has-wasm-support/lib/index.js +40 -0
- package/has-wasm-support/lib/main.js +39 -0
- package/has-wasm-support/package.json +76 -0
- package/has-weakmap-support/README.md +123 -0
- package/has-weakmap-support/bin/cli +60 -0
- package/has-weakmap-support/docs/repl.txt +17 -0
- package/has-weakmap-support/docs/types/index.d.ts +35 -0
- package/has-weakmap-support/docs/types/test.ts +33 -0
- package/has-weakmap-support/docs/usage.txt +8 -0
- package/has-weakmap-support/etc/cli_opts.json +14 -0
- package/has-weakmap-support/lib/index.js +40 -0
- package/has-weakmap-support/lib/main.js +63 -0
- package/has-weakmap-support/lib/weakmap.js +28 -0
- package/has-weakmap-support/package.json +75 -0
- package/has-weakset-support/README.md +123 -0
- package/has-weakset-support/bin/cli +60 -0
- package/has-weakset-support/docs/repl.txt +17 -0
- package/has-weakset-support/docs/types/index.d.ts +35 -0
- package/has-weakset-support/docs/types/test.ts +33 -0
- package/has-weakset-support/docs/usage.txt +8 -0
- package/has-weakset-support/etc/cli_opts.json +14 -0
- package/has-weakset-support/lib/index.js +40 -0
- package/has-weakset-support/lib/main.js +61 -0
- package/has-weakset-support/lib/weakset.js +28 -0
- package/has-weakset-support/package.json +75 -0
- package/instance-of/README.md +188 -0
- package/instance-of/docs/repl.txt +35 -0
- package/instance-of/docs/types/index.d.ts +54 -0
- package/instance-of/docs/types/test.ts +45 -0
- package/instance-of/lib/index.js +52 -0
- package/instance-of/lib/main.js +81 -0
- package/instance-of/package.json +79 -0
- package/is-absolute-http-uri/README.md +218 -0
- package/is-absolute-http-uri/bin/cli +104 -0
- package/is-absolute-http-uri/docs/repl.txt +25 -0
- package/is-absolute-http-uri/docs/types/index.d.ts +56 -0
- package/is-absolute-http-uri/docs/types/test.ts +34 -0
- package/is-absolute-http-uri/docs/usage.txt +8 -0
- package/is-absolute-http-uri/etc/cli_opts.json +17 -0
- package/is-absolute-http-uri/lib/index.js +43 -0
- package/is-absolute-http-uri/lib/main.js +70 -0
- package/is-absolute-http-uri/package.json +77 -0
- package/is-absolute-path/README.md +265 -0
- package/is-absolute-path/bin/cli +116 -0
- package/is-absolute-path/docs/repl.txt +73 -0
- package/is-absolute-path/docs/types/index.d.ts +119 -0
- package/is-absolute-path/docs/types/test.ts +58 -0
- package/is-absolute-path/docs/usage.txt +9 -0
- package/is-absolute-path/etc/cli_opts.json +18 -0
- package/is-absolute-path/lib/index.js +62 -0
- package/is-absolute-path/lib/posix.js +54 -0
- package/is-absolute-path/lib/win32.js +79 -0
- package/is-absolute-path/package.json +82 -0
- package/is-absolute-uri/README.md +218 -0
- package/is-absolute-uri/bin/cli +104 -0
- package/is-absolute-uri/docs/repl.txt +25 -0
- package/is-absolute-uri/docs/types/index.d.ts +52 -0
- package/is-absolute-uri/docs/types/test.ts +34 -0
- package/is-absolute-uri/docs/usage.txt +8 -0
- package/is-absolute-uri/etc/cli_opts.json +17 -0
- package/is-absolute-uri/lib/index.js +43 -0
- package/is-absolute-uri/lib/main.js +61 -0
- package/is-absolute-uri/package.json +75 -0
- package/is-accessor-array/README.md +192 -0
- package/is-accessor-array/docs/repl.txt +33 -0
- package/is-accessor-array/docs/types/index.d.ts +47 -0
- package/is-accessor-array/docs/types/test.ts +34 -0
- package/is-accessor-array/lib/index.js +47 -0
- package/is-accessor-array/lib/main.js +60 -0
- package/is-accessor-array/package.json +83 -0
- package/is-accessor-property/README.md +189 -0
- package/is-accessor-property/docs/repl.txt +34 -0
- package/is-accessor-property/docs/types/index.d.ts +56 -0
- package/is-accessor-property/docs/types/test.ts +49 -0
- package/is-accessor-property/lib/index.js +58 -0
- package/is-accessor-property/lib/main.js +72 -0
- package/is-accessor-property/package.json +75 -0
- package/is-accessor-property-in/README.md +195 -0
- package/is-accessor-property-in/docs/repl.txt +34 -0
- package/is-accessor-property-in/docs/types/index.d.ts +56 -0
- package/is-accessor-property-in/docs/types/test.ts +49 -0
- package/is-accessor-property-in/lib/index.js +58 -0
- package/is-accessor-property-in/lib/main.js +72 -0
- package/is-accessor-property-in/package.json +79 -0
- package/is-almost-equal/README.md +170 -0
- package/is-almost-equal/docs/repl.txt +46 -0
- package/is-almost-equal/docs/types/index.d.ts +60 -0
- package/is-almost-equal/docs/types/test.ts +49 -0
- package/is-almost-equal/lib/index.js +56 -0
- package/is-almost-equal/lib/main.js +81 -0
- package/is-almost-equal/package.json +73 -0
- package/is-almost-equal-array/README.md +113 -0
- package/is-almost-equal-array/docs/repl.txt +43 -0
- package/is-almost-equal-array/docs/types/index.d.ts +53 -0
- package/is-almost-equal-array/docs/types/test.ts +49 -0
- package/is-almost-equal-array/lib/index.js +52 -0
- package/is-almost-equal-array/lib/main.js +63 -0
- package/is-almost-equal-array/package.json +77 -0
- package/is-almost-equal-complex128array/README.md +126 -0
- package/is-almost-equal-complex128array/docs/repl.txt +43 -0
- package/is-almost-equal-complex128array/docs/types/index.d.ts +57 -0
- package/is-almost-equal-complex128array/docs/types/test.ts +49 -0
- package/is-almost-equal-complex128array/lib/index.js +54 -0
- package/is-almost-equal-complex128array/lib/main.js +67 -0
- package/is-almost-equal-complex128array/package.json +77 -0
- package/is-almost-equal-complex64array/README.md +126 -0
- package/is-almost-equal-complex64array/docs/repl.txt +43 -0
- package/is-almost-equal-complex64array/docs/types/index.d.ts +57 -0
- package/is-almost-equal-complex64array/docs/types/test.ts +49 -0
- package/is-almost-equal-complex64array/lib/index.js +54 -0
- package/is-almost-equal-complex64array/lib/main.js +67 -0
- package/is-almost-equal-complex64array/package.json +77 -0
- package/is-almost-equal-float32array/README.md +117 -0
- package/is-almost-equal-float32array/docs/repl.txt +43 -0
- package/is-almost-equal-float32array/docs/types/index.d.ts +57 -0
- package/is-almost-equal-float32array/docs/types/test.ts +49 -0
- package/is-almost-equal-float32array/lib/index.js +54 -0
- package/is-almost-equal-float32array/lib/main.js +67 -0
- package/is-almost-equal-float32array/package.json +77 -0
- package/is-almost-equal-float64array/README.md +117 -0
- package/is-almost-equal-float64array/docs/repl.txt +43 -0
- package/is-almost-equal-float64array/docs/types/index.d.ts +57 -0
- package/is-almost-equal-float64array/docs/types/test.ts +49 -0
- package/is-almost-equal-float64array/lib/index.js +54 -0
- package/is-almost-equal-float64array/lib/main.js +67 -0
- package/is-almost-equal-float64array/package.json +77 -0
- package/is-almost-same-array/README.md +108 -0
- package/is-almost-same-array/docs/repl.txt +41 -0
- package/is-almost-same-array/docs/types/index.d.ts +52 -0
- package/is-almost-same-array/docs/types/test.ts +49 -0
- package/is-almost-same-array/lib/index.js +52 -0
- package/is-almost-same-array/lib/main.js +62 -0
- package/is-almost-same-array/package.json +77 -0
- package/is-almost-same-complex128array/README.md +121 -0
- package/is-almost-same-complex128array/docs/repl.txt +41 -0
- package/is-almost-same-complex128array/docs/types/index.d.ts +56 -0
- package/is-almost-same-complex128array/docs/types/test.ts +49 -0
- package/is-almost-same-complex128array/lib/index.js +54 -0
- package/is-almost-same-complex128array/lib/main.js +66 -0
- package/is-almost-same-complex128array/package.json +77 -0
- package/is-almost-same-complex64array/README.md +121 -0
- package/is-almost-same-complex64array/docs/repl.txt +41 -0
- package/is-almost-same-complex64array/docs/types/index.d.ts +56 -0
- package/is-almost-same-complex64array/docs/types/test.ts +49 -0
- package/is-almost-same-complex64array/lib/index.js +54 -0
- package/is-almost-same-complex64array/lib/main.js +66 -0
- package/is-almost-same-complex64array/package.json +77 -0
- package/is-almost-same-float32array/README.md +112 -0
- package/is-almost-same-float32array/docs/repl.txt +41 -0
- package/is-almost-same-float32array/docs/types/index.d.ts +56 -0
- package/is-almost-same-float32array/docs/types/test.ts +49 -0
- package/is-almost-same-float32array/lib/index.js +54 -0
- package/is-almost-same-float32array/lib/main.js +66 -0
- package/is-almost-same-float32array/package.json +77 -0
- package/is-almost-same-float64array/README.md +112 -0
- package/is-almost-same-float64array/docs/repl.txt +41 -0
- package/is-almost-same-float64array/docs/types/index.d.ts +56 -0
- package/is-almost-same-float64array/docs/types/test.ts +49 -0
- package/is-almost-same-float64array/lib/index.js +54 -0
- package/is-almost-same-float64array/lib/main.js +66 -0
- package/is-almost-same-float64array/package.json +77 -0
- package/is-almost-same-value/README.md +168 -0
- package/is-almost-same-value/docs/repl.txt +43 -0
- package/is-almost-same-value/docs/types/index.d.ts +59 -0
- package/is-almost-same-value/docs/types/test.ts +49 -0
- package/is-almost-same-value/lib/index.js +56 -0
- package/is-almost-same-value/lib/main.js +83 -0
- package/is-almost-same-value/package.json +75 -0
- package/is-alphagram/README.md +198 -0
- package/is-alphagram/bin/cli +108 -0
- package/is-alphagram/docs/repl.txt +31 -0
- package/is-alphagram/docs/types/index.d.ts +56 -0
- package/is-alphagram/docs/types/test.ts +34 -0
- package/is-alphagram/docs/usage.txt +8 -0
- package/is-alphagram/etc/cli_opts.json +17 -0
- package/is-alphagram/lib/index.js +46 -0
- package/is-alphagram/lib/main.js +76 -0
- package/is-alphagram/package.json +78 -0
- package/is-alphanumeric/README.md +190 -0
- package/is-alphanumeric/bin/cli +108 -0
- package/is-alphanumeric/docs/repl.txt +29 -0
- package/is-alphanumeric/docs/types/index.d.ts +52 -0
- package/is-alphanumeric/docs/types/test.ts +34 -0
- package/is-alphanumeric/docs/usage.txt +8 -0
- package/is-alphanumeric/etc/cli_opts.json +17 -0
- package/is-alphanumeric/lib/index.js +46 -0
- package/is-alphanumeric/lib/main.js +92 -0
- package/is-alphanumeric/package.json +81 -0
- package/is-anagram/README.md +214 -0
- package/is-anagram/bin/cli +108 -0
- package/is-anagram/docs/repl.txt +29 -0
- package/is-anagram/docs/types/index.d.ts +41 -0
- package/is-anagram/docs/types/test.ts +45 -0
- package/is-anagram/docs/usage.txt +9 -0
- package/is-anagram/etc/cli_opts.json +18 -0
- package/is-anagram/lib/index.js +43 -0
- package/is-anagram/lib/main.js +93 -0
- package/is-anagram/package.json +76 -0
- package/is-arguments/README.md +106 -0
- package/is-arguments/docs/repl.txt +25 -0
- package/is-arguments/docs/types/index.d.ts +44 -0
- package/is-arguments/docs/types/test.ts +46 -0
- package/is-arguments/lib/detect.js +55 -0
- package/is-arguments/lib/index.js +59 -0
- package/is-arguments/lib/main.js +54 -0
- package/is-arguments/lib/polyfill.js +68 -0
- package/is-arguments/package.json +74 -0
- package/is-array/README.md +92 -0
- package/is-array/docs/repl.txt +24 -0
- package/is-array/docs/types/index.d.ts +40 -0
- package/is-array/docs/types/test.ts +34 -0
- package/is-array/lib/index.js +43 -0
- package/is-array/lib/main.js +63 -0
- package/is-array/package.json +67 -0
- package/is-array-array/README.md +104 -0
- package/is-array-array/docs/repl.txt +26 -0
- package/is-array-array/docs/types/index.d.ts +42 -0
- package/is-array-array/docs/types/test.ts +34 -0
- package/is-array-array/lib/index.js +46 -0
- package/is-array-array/lib/main.js +52 -0
- package/is-array-array/package.json +72 -0
- package/is-array-length/README.md +137 -0
- package/is-array-length/docs/repl.txt +31 -0
- package/is-array-length/docs/types/index.d.ts +44 -0
- package/is-array-length/docs/types/test.ts +34 -0
- package/is-array-length/lib/index.js +49 -0
- package/is-array-length/lib/main.js +54 -0
- package/is-array-length/package.json +72 -0
- package/is-array-like/README.md +140 -0
- package/is-array-like/docs/repl.txt +30 -0
- package/is-array-like/docs/types/index.d.ts +44 -0
- package/is-array-like/docs/types/test.ts +34 -0
- package/is-array-like/lib/index.js +46 -0
- package/is-array-like/lib/main.js +58 -0
- package/is-array-like/package.json +67 -0
- package/is-array-like-object/README.md +144 -0
- package/is-array-like-object/docs/repl.txt +28 -0
- package/is-array-like-object/docs/types/index.d.ts +48 -0
- package/is-array-like-object/docs/types/test.ts +34 -0
- package/is-array-like-object/lib/index.js +46 -0
- package/is-array-like-object/lib/main.js +61 -0
- package/is-array-like-object/package.json +72 -0
- package/is-arraybuffer/README.md +145 -0
- package/is-arraybuffer/docs/repl.txt +24 -0
- package/is-arraybuffer/docs/types/index.d.ts +42 -0
- package/is-arraybuffer/docs/types/test.ts +34 -0
- package/is-arraybuffer/lib/index.js +44 -0
- package/is-arraybuffer/lib/main.js +59 -0
- package/is-arraybuffer/package.json +76 -0
- package/is-arraybuffer-view/README.md +138 -0
- package/is-arraybuffer-view/docs/repl.txt +24 -0
- package/is-arraybuffer-view/docs/types/index.d.ts +41 -0
- package/is-arraybuffer-view/docs/types/test.ts +35 -0
- package/is-arraybuffer-view/lib/index.js +63 -0
- package/is-arraybuffer-view/lib/main.js +51 -0
- package/is-arraybuffer-view/lib/no_arraybuffer.js +33 -0
- package/is-arraybuffer-view/lib/polyfill.js +57 -0
- package/is-arraybuffer-view/package.json +75 -0
- package/is-arrow-function/README.md +115 -0
- package/is-arrow-function/docs/repl.txt +25 -0
- package/is-arrow-function/docs/types/index.d.ts +45 -0
- package/is-arrow-function/docs/types/test.ts +34 -0
- package/is-arrow-function/lib/index.js +49 -0
- package/is-arrow-function/lib/main.js +65 -0
- package/is-arrow-function/package.json +71 -0
- package/is-ascii/README.md +191 -0
- package/is-ascii/bin/cli +108 -0
- package/is-ascii/docs/repl.txt +26 -0
- package/is-ascii/docs/types/index.d.ts +48 -0
- package/is-ascii/docs/types/test.ts +34 -0
- package/is-ascii/docs/usage.txt +8 -0
- package/is-ascii/etc/cli_opts.json +17 -0
- package/is-ascii/lib/index.js +46 -0
- package/is-ascii/lib/main.js +76 -0
- package/is-ascii/package.json +75 -0
- package/is-between/README.md +168 -0
- package/is-between/docs/repl.txt +46 -0
- package/is-between/docs/types/index.d.ts +65 -0
- package/is-between/docs/types/test.ts +58 -0
- package/is-between/lib/index.js +55 -0
- package/is-between/lib/main.js +88 -0
- package/is-between/package.json +78 -0
- package/is-between-array/README.md +168 -0
- package/is-between-array/docs/repl.txt +47 -0
- package/is-between-array/docs/types/index.d.ts +66 -0
- package/is-between-array/docs/types/test.ts +62 -0
- package/is-between-array/lib/index.js +54 -0
- package/is-between-array/lib/main.js +119 -0
- package/is-between-array/package.json +85 -0
- package/is-big-endian/README.md +131 -0
- package/is-big-endian/bin/cli +60 -0
- package/is-big-endian/docs/repl.txt +12 -0
- package/is-big-endian/docs/types/index.d.ts +33 -0
- package/is-big-endian/docs/types/test.ts +28 -0
- package/is-big-endian/docs/usage.txt +8 -0
- package/is-big-endian/etc/cli_opts.json +14 -0
- package/is-big-endian/lib/ctors.js +37 -0
- package/is-big-endian/lib/index.js +40 -0
- package/is-big-endian/lib/main.js +72 -0
- package/is-big-endian/package.json +72 -0
- package/is-bigint/README.md +147 -0
- package/is-bigint/docs/repl.txt +30 -0
- package/is-bigint/docs/types/index.d.ts +127 -0
- package/is-bigint/docs/types/test.ts +58 -0
- package/is-bigint/lib/generic.js +42 -0
- package/is-bigint/lib/index.js +85 -0
- package/is-bigint/lib/main.js +37 -0
- package/is-bigint/lib/object.js +46 -0
- package/is-bigint/lib/polyfill.js +39 -0
- package/is-bigint/lib/primitive.js +34 -0
- package/is-bigint/lib/try2valueof.js +44 -0
- package/is-bigint/package.json +74 -0
- package/is-bigint64array/README.md +143 -0
- package/is-bigint64array/docs/repl.txt +24 -0
- package/is-bigint64array/docs/types/index.d.ts +40 -0
- package/is-bigint64array/docs/types/test.ts +33 -0
- package/is-bigint64array/lib/index.js +44 -0
- package/is-bigint64array/lib/main.js +61 -0
- package/is-bigint64array/package.json +75 -0
- package/is-biguint64array/README.md +143 -0
- package/is-biguint64array/docs/repl.txt +24 -0
- package/is-biguint64array/docs/types/index.d.ts +40 -0
- package/is-biguint64array/docs/types/test.ts +33 -0
- package/is-biguint64array/lib/index.js +44 -0
- package/is-biguint64array/lib/main.js +62 -0
- package/is-biguint64array/package.json +75 -0
- package/is-binary-string/README.md +191 -0
- package/is-binary-string/bin/cli +108 -0
- package/is-binary-string/docs/repl.txt +26 -0
- package/is-binary-string/docs/types/index.d.ts +44 -0
- package/is-binary-string/docs/types/test.ts +34 -0
- package/is-binary-string/docs/usage.txt +8 -0
- package/is-binary-string/etc/cli_opts.json +17 -0
- package/is-binary-string/lib/index.js +46 -0
- package/is-binary-string/lib/main.js +67 -0
- package/is-binary-string/package.json +72 -0
- package/is-blank-string/README.md +194 -0
- package/is-blank-string/bin/cli +108 -0
- package/is-blank-string/docs/repl.txt +27 -0
- package/is-blank-string/docs/types/index.d.ts +52 -0
- package/is-blank-string/docs/types/test.ts +34 -0
- package/is-blank-string/docs/usage.txt +8 -0
- package/is-blank-string/etc/cli_opts.json +17 -0
- package/is-blank-string/lib/index.js +47 -0
- package/is-blank-string/lib/main.js +69 -0
- package/is-blank-string/package.json +74 -0
- package/is-boolean/README.md +137 -0
- package/is-boolean/docs/repl.txt +68 -0
- package/is-boolean/docs/types/index.d.ts +125 -0
- package/is-boolean/docs/types/test.ts +60 -0
- package/is-boolean/lib/index.js +73 -0
- package/is-boolean/lib/main.js +62 -0
- package/is-boolean/lib/object.js +68 -0
- package/is-boolean/lib/primitive.js +48 -0
- package/is-boolean/lib/tostring.js +27 -0
- package/is-boolean/lib/try2serialize.js +47 -0
- package/is-boolean/package.json +72 -0
- package/is-boolean-array/README.md +124 -0
- package/is-boolean-array/docs/repl.txt +68 -0
- package/is-boolean-array/docs/types/index.d.ts +109 -0
- package/is-boolean-array/docs/types/test.ts +60 -0
- package/is-boolean-array/lib/index.js +78 -0
- package/is-boolean-array/package.json +71 -0
- package/is-booleanarray/README.md +138 -0
- package/is-booleanarray/docs/repl.txt +24 -0
- package/is-booleanarray/docs/types/index.d.ts +46 -0
- package/is-booleanarray/docs/types/test.ts +33 -0
- package/is-booleanarray/lib/index.js +44 -0
- package/is-booleanarray/lib/main.js +55 -0
- package/is-booleanarray/package.json +76 -0
- package/is-boxed-primitive/README.md +143 -0
- package/is-boxed-primitive/docs/repl.txt +32 -0
- package/is-boxed-primitive/docs/types/index.d.ts +58 -0
- package/is-boxed-primitive/docs/types/test.ts +41 -0
- package/is-boxed-primitive/lib/index.js +44 -0
- package/is-boxed-primitive/lib/main.js +82 -0
- package/is-boxed-primitive/package.json +76 -0
- package/is-browser/README.md +89 -0
- package/is-browser/docs/repl.txt +12 -0
- package/is-browser/docs/types/index.d.ts +33 -0
- package/is-browser/docs/types/test.ts +28 -0
- package/is-browser/lib/browser.js +23 -0
- package/is-browser/lib/global_scope.js +52 -0
- package/is-browser/lib/index.js +45 -0
- package/is-browser/lib/main.js +65 -0
- package/is-browser/package.json +66 -0
- package/is-buffer/README.md +132 -0
- package/is-buffer/docs/repl.txt +28 -0
- package/is-buffer/docs/types/index.d.ts +50 -0
- package/is-buffer/docs/types/test.ts +34 -0
- package/is-buffer/lib/index.js +43 -0
- package/is-buffer/lib/main.js +70 -0
- package/is-buffer/package.json +68 -0
- package/is-camelcase/README.md +201 -0
- package/is-camelcase/bin/cli +108 -0
- package/is-camelcase/docs/repl.txt +23 -0
- package/is-camelcase/docs/types/index.d.ts +48 -0
- package/is-camelcase/docs/types/test.ts +36 -0
- package/is-camelcase/docs/usage.txt +8 -0
- package/is-camelcase/etc/cli_opts.json +17 -0
- package/is-camelcase/lib/index.js +43 -0
- package/is-camelcase/lib/main.js +61 -0
- package/is-camelcase/package.json +71 -0
- package/is-capitalized/README.md +195 -0
- package/is-capitalized/bin/cli +108 -0
- package/is-capitalized/docs/repl.txt +25 -0
- package/is-capitalized/docs/types/index.d.ts +48 -0
- package/is-capitalized/docs/types/test.ts +34 -0
- package/is-capitalized/docs/usage.txt +8 -0
- package/is-capitalized/etc/cli_opts.json +17 -0
- package/is-capitalized/lib/index.js +43 -0
- package/is-capitalized/lib/main.js +64 -0
- package/is-capitalized/package.json +71 -0
- package/is-centrosymmetric-matrix/README.md +120 -0
- package/is-centrosymmetric-matrix/docs/repl.txt +30 -0
- package/is-centrosymmetric-matrix/docs/types/index.d.ts +52 -0
- package/is-centrosymmetric-matrix/docs/types/test.ts +56 -0
- package/is-centrosymmetric-matrix/lib/index.js +46 -0
- package/is-centrosymmetric-matrix/lib/main.js +87 -0
- package/is-centrosymmetric-matrix/package.json +78 -0
- package/is-circular/README.md +152 -0
- package/is-circular/docs/repl.txt +29 -0
- package/is-circular/docs/types/index.d.ts +57 -0
- package/is-circular/docs/types/test.ts +47 -0
- package/is-circular/lib/index.js +51 -0
- package/is-circular/lib/main.js +134 -0
- package/is-circular/package.json +80 -0
- package/is-circular-array/README.md +117 -0
- package/is-circular-array/docs/repl.txt +29 -0
- package/is-circular-array/docs/types/index.d.ts +57 -0
- package/is-circular-array/docs/types/test.ts +36 -0
- package/is-circular-array/lib/index.js +46 -0
- package/is-circular-array/lib/main.js +70 -0
- package/is-circular-array/package.json +74 -0
- package/is-circular-plain-object/README.md +133 -0
- package/is-circular-plain-object/docs/repl.txt +29 -0
- package/is-circular-plain-object/docs/types/index.d.ts +57 -0
- package/is-circular-plain-object/docs/types/test.ts +34 -0
- package/is-circular-plain-object/lib/index.js +51 -0
- package/is-circular-plain-object/lib/main.js +70 -0
- package/is-circular-plain-object/package.json +74 -0
- package/is-class/README.md +112 -0
- package/is-class/docs/repl.txt +29 -0
- package/is-class/docs/types/index.d.ts +44 -0
- package/is-class/docs/types/test.ts +36 -0
- package/is-class/lib/index.js +43 -0
- package/is-class/lib/main.js +64 -0
- package/is-class/package.json +72 -0
- package/is-collection/README.md +165 -0
- package/is-collection/docs/repl.txt +29 -0
- package/is-collection/docs/types/index.d.ts +44 -0
- package/is-collection/docs/types/test.ts +34 -0
- package/is-collection/lib/index.js +43 -0
- package/is-collection/lib/main.js +57 -0
- package/is-collection/package.json +80 -0
- package/is-complex/README.md +115 -0
- package/is-complex/docs/repl.txt +29 -0
- package/is-complex/docs/types/index.d.ts +48 -0
- package/is-complex/docs/types/test.ts +37 -0
- package/is-complex/lib/index.js +47 -0
- package/is-complex/lib/main.js +60 -0
- package/is-complex/package.json +81 -0
- package/is-complex-like/README.md +139 -0
- package/is-complex-like/docs/repl.txt +28 -0
- package/is-complex-like/docs/types/index.d.ts +48 -0
- package/is-complex-like/docs/types/test.ts +38 -0
- package/is-complex-like/lib/index.js +47 -0
- package/is-complex-like/lib/main.js +62 -0
- package/is-complex-like/package.json +81 -0
- package/is-complex-typed-array/README.md +161 -0
- package/is-complex-typed-array/docs/repl.txt +22 -0
- package/is-complex-typed-array/docs/types/index.d.ts +42 -0
- package/is-complex-typed-array/docs/types/test.ts +33 -0
- package/is-complex-typed-array/lib/ctors.js +37 -0
- package/is-complex-typed-array/lib/index.js +41 -0
- package/is-complex-typed-array/lib/main.js +73 -0
- package/is-complex-typed-array/lib/names.json +4 -0
- package/is-complex-typed-array/package.json +75 -0
- package/is-complex-typed-array-like/README.md +144 -0
- package/is-complex-typed-array-like/docs/repl.txt +31 -0
- package/is-complex-typed-array-like/docs/types/index.d.ts +70 -0
- package/is-complex-typed-array-like/docs/types/test.ts +34 -0
- package/is-complex-typed-array-like/lib/index.js +51 -0
- package/is-complex-typed-array-like/lib/main.js +95 -0
- package/is-complex-typed-array-like/package.json +78 -0
- package/is-complex128/README.md +109 -0
- package/is-complex128/docs/repl.txt +28 -0
- package/is-complex128/docs/types/index.d.ts +44 -0
- package/is-complex128/docs/types/test.ts +38 -0
- package/is-complex128/lib/index.js +43 -0
- package/is-complex128/lib/main.js +53 -0
- package/is-complex128/package.json +74 -0
- package/is-complex128array/README.md +155 -0
- package/is-complex128array/docs/repl.txt +24 -0
- package/is-complex128array/docs/types/index.d.ts +46 -0
- package/is-complex128array/docs/types/test.ts +33 -0
- package/is-complex128array/lib/index.js +44 -0
- package/is-complex128array/lib/main.js +55 -0
- package/is-complex128array/package.json +80 -0
- package/is-complex128matrix-like/README.md +117 -0
- package/is-complex128matrix-like/docs/repl.txt +32 -0
- package/is-complex128matrix-like/docs/types/index.d.ts +45 -0
- package/is-complex128matrix-like/docs/types/test.ts +33 -0
- package/is-complex128matrix-like/lib/index.js +48 -0
- package/is-complex128matrix-like/lib/main.js +56 -0
- package/is-complex128matrix-like/package.json +78 -0
- package/is-complex128ndarray-like/README.md +114 -0
- package/is-complex128ndarray-like/docs/repl.txt +32 -0
- package/is-complex128ndarray-like/docs/types/index.d.ts +45 -0
- package/is-complex128ndarray-like/docs/types/test.ts +33 -0
- package/is-complex128ndarray-like/lib/index.js +48 -0
- package/is-complex128ndarray-like/lib/main.js +56 -0
- package/is-complex128ndarray-like/package.json +76 -0
- package/is-complex128vector-like/README.md +117 -0
- package/is-complex128vector-like/docs/repl.txt +32 -0
- package/is-complex128vector-like/docs/types/index.d.ts +45 -0
- package/is-complex128vector-like/docs/types/test.ts +33 -0
- package/is-complex128vector-like/lib/index.js +48 -0
- package/is-complex128vector-like/lib/main.js +56 -0
- package/is-complex128vector-like/package.json +78 -0
- package/is-complex64/README.md +109 -0
- package/is-complex64/docs/repl.txt +28 -0
- package/is-complex64/docs/types/index.d.ts +44 -0
- package/is-complex64/docs/types/test.ts +38 -0
- package/is-complex64/lib/index.js +43 -0
- package/is-complex64/lib/main.js +53 -0
- package/is-complex64/package.json +75 -0
- package/is-complex64array/README.md +155 -0
- package/is-complex64array/docs/repl.txt +24 -0
- package/is-complex64array/docs/types/index.d.ts +46 -0
- package/is-complex64array/docs/types/test.ts +33 -0
- package/is-complex64array/lib/index.js +44 -0
- package/is-complex64array/lib/main.js +55 -0
- package/is-complex64array/package.json +81 -0
- package/is-complex64matrix-like/README.md +116 -0
- package/is-complex64matrix-like/docs/repl.txt +42 -0
- package/is-complex64matrix-like/docs/types/index.d.ts +44 -0
- package/is-complex64matrix-like/docs/types/test.ts +33 -0
- package/is-complex64matrix-like/lib/index.js +49 -0
- package/is-complex64matrix-like/lib/main.js +55 -0
- package/is-complex64matrix-like/package.json +79 -0
- package/is-complex64ndarray-like/README.md +113 -0
- package/is-complex64ndarray-like/docs/repl.txt +42 -0
- package/is-complex64ndarray-like/docs/types/index.d.ts +44 -0
- package/is-complex64ndarray-like/docs/types/test.ts +33 -0
- package/is-complex64ndarray-like/lib/index.js +49 -0
- package/is-complex64ndarray-like/lib/main.js +55 -0
- package/is-complex64ndarray-like/package.json +77 -0
- package/is-complex64vector-like/README.md +116 -0
- package/is-complex64vector-like/docs/repl.txt +42 -0
- package/is-complex64vector-like/docs/types/index.d.ts +44 -0
- package/is-complex64vector-like/docs/types/test.ts +33 -0
- package/is-complex64vector-like/lib/index.js +49 -0
- package/is-complex64vector-like/lib/main.js +55 -0
- package/is-complex64vector-like/package.json +79 -0
- package/is-composite/README.md +181 -0
- package/is-composite/docs/repl.txt +76 -0
- package/is-composite/docs/types/index.d.ts +125 -0
- package/is-composite/docs/types/test.ts +60 -0
- package/is-composite/lib/index.js +79 -0
- package/is-composite/lib/main.js +62 -0
- package/is-composite/lib/object.js +53 -0
- package/is-composite/lib/primitive.js +53 -0
- package/is-composite/package.json +77 -0
- package/is-configurable-property/README.md +178 -0
- package/is-configurable-property/docs/repl.txt +37 -0
- package/is-configurable-property/docs/types/index.d.ts +53 -0
- package/is-configurable-property/docs/types/test.ts +44 -0
- package/is-configurable-property/lib/index.js +55 -0
- package/is-configurable-property/lib/main.js +63 -0
- package/is-configurable-property/package.json +73 -0
- package/is-configurable-property-in/README.md +184 -0
- package/is-configurable-property-in/docs/repl.txt +38 -0
- package/is-configurable-property-in/docs/types/index.d.ts +53 -0
- package/is-configurable-property-in/docs/types/test.ts +44 -0
- package/is-configurable-property-in/lib/index.js +55 -0
- package/is-configurable-property-in/lib/main.js +63 -0
- package/is-configurable-property-in/package.json +77 -0
- package/is-constantcase/README.md +205 -0
- package/is-constantcase/bin/cli +108 -0
- package/is-constantcase/docs/repl.txt +23 -0
- package/is-constantcase/docs/types/index.d.ts +54 -0
- package/is-constantcase/docs/types/test.ts +39 -0
- package/is-constantcase/docs/usage.txt +9 -0
- package/is-constantcase/etc/cli_opts.json +17 -0
- package/is-constantcase/lib/index.js +43 -0
- package/is-constantcase/lib/main.js +67 -0
- package/is-constantcase/package.json +55 -0
- package/is-cube-number/README.md +181 -0
- package/is-cube-number/docs/repl.txt +75 -0
- package/is-cube-number/docs/types/index.d.ts +125 -0
- package/is-cube-number/docs/types/test.ts +60 -0
- package/is-cube-number/lib/index.js +79 -0
- package/is-cube-number/lib/main.js +62 -0
- package/is-cube-number/lib/object.js +58 -0
- package/is-cube-number/lib/primitive.js +56 -0
- package/is-cube-number/package.json +74 -0
- package/is-current-year/README.md +174 -0
- package/is-current-year/bin/cli +108 -0
- package/is-current-year/docs/repl.txt +28 -0
- package/is-current-year/docs/types/index.d.ts +49 -0
- package/is-current-year/docs/types/test.ts +39 -0
- package/is-current-year/docs/usage.txt +8 -0
- package/is-current-year/etc/cli_opts.json +17 -0
- package/is-current-year/lib/index.js +44 -0
- package/is-current-year/lib/main.js +62 -0
- package/is-current-year/package.json +72 -0
- package/is-darwin/README.md +83 -0
- package/is-darwin/docs/repl.txt +12 -0
- package/is-darwin/docs/types/index.d.ts +38 -0
- package/is-darwin/docs/types/test.ts +28 -0
- package/is-darwin/lib/index.js +56 -0
- package/is-darwin/package.json +71 -0
- package/is-data-property/README.md +179 -0
- package/is-data-property/docs/repl.txt +33 -0
- package/is-data-property/docs/types/index.d.ts +56 -0
- package/is-data-property/docs/types/test.ts +49 -0
- package/is-data-property/lib/index.js +58 -0
- package/is-data-property/lib/main.js +66 -0
- package/is-data-property/package.json +73 -0
- package/is-data-property-in/README.md +185 -0
- package/is-data-property-in/docs/repl.txt +34 -0
- package/is-data-property-in/docs/types/index.d.ts +56 -0
- package/is-data-property-in/docs/types/test.ts +49 -0
- package/is-data-property-in/lib/index.js +58 -0
- package/is-data-property-in/lib/main.js +66 -0
- package/is-data-property-in/package.json +77 -0
- package/is-dataview/README.md +150 -0
- package/is-dataview/docs/repl.txt +25 -0
- package/is-dataview/docs/types/index.d.ts +43 -0
- package/is-dataview/docs/types/test.ts +34 -0
- package/is-dataview/lib/index.js +45 -0
- package/is-dataview/lib/main.js +60 -0
- package/is-dataview/package.json +77 -0
- package/is-date-object/README.md +105 -0
- package/is-date-object/docs/repl.txt +24 -0
- package/is-date-object/docs/types/index.d.ts +40 -0
- package/is-date-object/docs/types/test.ts +34 -0
- package/is-date-object/lib/getday.js +26 -0
- package/is-date-object/lib/index.js +43 -0
- package/is-date-object/lib/main.js +65 -0
- package/is-date-object/lib/try2getday.js +47 -0
- package/is-date-object/package.json +72 -0
- package/is-date-object-array/README.md +123 -0
- package/is-date-object-array/docs/repl.txt +29 -0
- package/is-date-object-array/docs/types/index.d.ts +43 -0
- package/is-date-object-array/docs/types/test.ts +34 -0
- package/is-date-object-array/lib/index.js +52 -0
- package/is-date-object-array/package.json +76 -0
- package/is-digit-string/README.md +192 -0
- package/is-digit-string/bin/cli +108 -0
- package/is-digit-string/docs/repl.txt +28 -0
- package/is-digit-string/docs/types/index.d.ts +48 -0
- package/is-digit-string/docs/types/test.ts +34 -0
- package/is-digit-string/docs/usage.txt +8 -0
- package/is-digit-string/etc/cli_opts.json +17 -0
- package/is-digit-string/lib/index.js +46 -0
- package/is-digit-string/lib/main.js +80 -0
- package/is-digit-string/package.json +80 -0
- package/is-docker/README.md +79 -0
- package/is-docker/docs/repl.txt +12 -0
- package/is-docker/docs/types/index.d.ts +33 -0
- package/is-docker/docs/types/test.ts +28 -0
- package/is-docker/lib/browser.js +23 -0
- package/is-docker/lib/index.js +45 -0
- package/is-docker/lib/main.js +62 -0
- package/is-docker/package.json +65 -0
- package/is-domain-name/README.md +192 -0
- package/is-domain-name/bin/cli +108 -0
- package/is-domain-name/docs/repl.txt +23 -0
- package/is-domain-name/docs/types/index.d.ts +40 -0
- package/is-domain-name/docs/types/test.ts +33 -0
- package/is-domain-name/docs/usage.txt +9 -0
- package/is-domain-name/etc/cli_opts.json +17 -0
- package/is-domain-name/lib/index.js +43 -0
- package/is-domain-name/lib/main.js +114 -0
- package/is-domain-name/package.json +75 -0
- package/is-duration-string/README.md +199 -0
- package/is-duration-string/bin/cli +108 -0
- package/is-duration-string/docs/repl.txt +47 -0
- package/is-duration-string/docs/types/index.d.ts +56 -0
- package/is-duration-string/docs/types/test.ts +35 -0
- package/is-duration-string/docs/usage.txt +9 -0
- package/is-duration-string/etc/cli_opts.json +17 -0
- package/is-duration-string/lib/index.js +46 -0
- package/is-duration-string/lib/main.js +73 -0
- package/is-duration-string/package.json +74 -0
- package/is-electron/README.md +94 -0
- package/is-electron/docs/repl.txt +12 -0
- package/is-electron/docs/types/index.d.ts +33 -0
- package/is-electron/docs/types/test.ts +28 -0
- package/is-electron/lib/browser.js +23 -0
- package/is-electron/lib/index.js +45 -0
- package/is-electron/lib/main.js +68 -0
- package/is-electron/lib/process.js +23 -0
- package/is-electron/package.json +69 -0
- package/is-electron-main/README.md +94 -0
- package/is-electron-main/docs/repl.txt +12 -0
- package/is-electron-main/docs/types/index.d.ts +33 -0
- package/is-electron-main/docs/types/test.ts +28 -0
- package/is-electron-main/lib/browser.js +23 -0
- package/is-electron-main/lib/index.js +45 -0
- package/is-electron-main/lib/main.js +48 -0
- package/is-electron-main/lib/process.js +28 -0
- package/is-electron-main/package.json +69 -0
- package/is-electron-renderer/README.md +94 -0
- package/is-electron-renderer/docs/repl.txt +12 -0
- package/is-electron-renderer/docs/types/index.d.ts +33 -0
- package/is-electron-renderer/docs/types/test.ts +28 -0
- package/is-electron-renderer/lib/browser.js +23 -0
- package/is-electron-renderer/lib/index.js +45 -0
- package/is-electron-renderer/lib/main.js +48 -0
- package/is-electron-renderer/lib/process.js +28 -0
- package/is-electron-renderer/package.json +69 -0
- package/is-email-address/README.md +189 -0
- package/is-email-address/bin/cli +108 -0
- package/is-email-address/docs/repl.txt +33 -0
- package/is-email-address/docs/types/index.d.ts +48 -0
- package/is-email-address/docs/types/test.ts +34 -0
- package/is-email-address/docs/usage.txt +8 -0
- package/is-email-address/etc/cli_opts.json +17 -0
- package/is-email-address/lib/index.js +46 -0
- package/is-email-address/lib/main.js +62 -0
- package/is-email-address/package.json +69 -0
- package/is-empty-array/README.md +106 -0
- package/is-empty-array/docs/repl.txt +26 -0
- package/is-empty-array/docs/types/index.d.ts +44 -0
- package/is-empty-array/docs/types/test.ts +34 -0
- package/is-empty-array/lib/index.js +46 -0
- package/is-empty-array/lib/main.js +56 -0
- package/is-empty-array/package.json +71 -0
- package/is-empty-array-like-object/README.md +139 -0
- package/is-empty-array-like-object/docs/repl.txt +28 -0
- package/is-empty-array-like-object/docs/types/index.d.ts +48 -0
- package/is-empty-array-like-object/docs/types/test.ts +34 -0
- package/is-empty-array-like-object/lib/index.js +46 -0
- package/is-empty-array-like-object/lib/main.js +52 -0
- package/is-empty-array-like-object/package.json +73 -0
- package/is-empty-collection/README.md +142 -0
- package/is-empty-collection/docs/repl.txt +31 -0
- package/is-empty-collection/docs/types/index.d.ts +48 -0
- package/is-empty-collection/docs/types/test.ts +34 -0
- package/is-empty-collection/lib/index.js +46 -0
- package/is-empty-collection/lib/main.js +56 -0
- package/is-empty-collection/package.json +81 -0
- package/is-empty-object/README.md +104 -0
- package/is-empty-object/docs/repl.txt +26 -0
- package/is-empty-object/docs/types/index.d.ts +44 -0
- package/is-empty-object/docs/types/test.ts +34 -0
- package/is-empty-object/lib/index.js +46 -0
- package/is-empty-object/lib/main.js +69 -0
- package/is-empty-object/package.json +73 -0
- package/is-empty-string/README.md +148 -0
- package/is-empty-string/docs/repl.txt +70 -0
- package/is-empty-string/docs/types/index.d.ts +117 -0
- package/is-empty-string/docs/types/test.ts +60 -0
- package/is-empty-string/lib/index.js +73 -0
- package/is-empty-string/lib/main.js +54 -0
- package/is-empty-string/lib/object.js +56 -0
- package/is-empty-string/lib/primitive.js +48 -0
- package/is-empty-string/package.json +72 -0
- package/is-enumerable-property/README.md +177 -0
- package/is-enumerable-property/docs/repl.txt +28 -0
- package/is-enumerable-property/docs/types/index.d.ts +49 -0
- package/is-enumerable-property/docs/types/test.ts +38 -0
- package/is-enumerable-property/lib/has_string_enumerability_bug.js +51 -0
- package/is-enumerable-property/lib/index.js +47 -0
- package/is-enumerable-property/lib/main.js +80 -0
- package/is-enumerable-property/lib/native.js +54 -0
- package/is-enumerable-property/package.json +73 -0
- package/is-enumerable-property-in/README.md +187 -0
- package/is-enumerable-property-in/docs/repl.txt +35 -0
- package/is-enumerable-property-in/docs/types/index.d.ts +53 -0
- package/is-enumerable-property-in/docs/types/test.ts +38 -0
- package/is-enumerable-property-in/lib/index.js +55 -0
- package/is-enumerable-property-in/lib/main.js +63 -0
- package/is-enumerable-property-in/package.json +78 -0
- package/is-equal-array/README.md +119 -0
- package/is-equal-array/docs/repl.txt +35 -0
- package/is-equal-array/docs/types/index.d.ts +51 -0
- package/is-equal-array/docs/types/test.ts +36 -0
- package/is-equal-array/lib/index.js +52 -0
- package/is-equal-array/lib/main.js +57 -0
- package/is-equal-array/package.json +75 -0
- package/is-equal-booleanarray/README.md +100 -0
- package/is-equal-booleanarray/docs/repl.txt +32 -0
- package/is-equal-booleanarray/docs/types/index.d.ts +51 -0
- package/is-equal-booleanarray/docs/types/test.ts +36 -0
- package/is-equal-booleanarray/lib/index.js +54 -0
- package/is-equal-booleanarray/lib/main.js +61 -0
- package/is-equal-booleanarray/package.json +77 -0
- package/is-equal-date-object/README.md +90 -0
- package/is-equal-date-object/docs/repl.txt +32 -0
- package/is-equal-date-object/docs/types/index.d.ts +47 -0
- package/is-equal-date-object/docs/types/test.ts +36 -0
- package/is-equal-date-object/lib/index.js +52 -0
- package/is-equal-date-object/lib/main.js +54 -0
- package/is-equal-date-object/package.json +77 -0
- package/is-equal-int16array/README.md +103 -0
- package/is-equal-int16array/docs/repl.txt +32 -0
- package/is-equal-int16array/docs/types/index.d.ts +51 -0
- package/is-equal-int16array/docs/types/test.ts +36 -0
- package/is-equal-int16array/lib/index.js +54 -0
- package/is-equal-int16array/lib/main.js +61 -0
- package/is-equal-int16array/package.json +74 -0
- package/is-equal-int32array/README.md +103 -0
- package/is-equal-int32array/docs/repl.txt +32 -0
- package/is-equal-int32array/docs/types/index.d.ts +51 -0
- package/is-equal-int32array/docs/types/test.ts +36 -0
- package/is-equal-int32array/lib/index.js +54 -0
- package/is-equal-int32array/lib/main.js +61 -0
- package/is-equal-int32array/package.json +74 -0
- package/is-equal-int8array/README.md +103 -0
- package/is-equal-int8array/docs/repl.txt +32 -0
- package/is-equal-int8array/docs/types/index.d.ts +51 -0
- package/is-equal-int8array/docs/types/test.ts +36 -0
- package/is-equal-int8array/lib/index.js +54 -0
- package/is-equal-int8array/lib/main.js +61 -0
- package/is-equal-int8array/package.json +74 -0
- package/is-equal-uint16array/README.md +103 -0
- package/is-equal-uint16array/docs/repl.txt +32 -0
- package/is-equal-uint16array/docs/types/index.d.ts +51 -0
- package/is-equal-uint16array/docs/types/test.ts +36 -0
- package/is-equal-uint16array/lib/index.js +54 -0
- package/is-equal-uint16array/lib/main.js +61 -0
- package/is-equal-uint16array/package.json +74 -0
- package/is-equal-uint32array/README.md +103 -0
- package/is-equal-uint32array/docs/repl.txt +32 -0
- package/is-equal-uint32array/docs/types/index.d.ts +51 -0
- package/is-equal-uint32array/docs/types/test.ts +36 -0
- package/is-equal-uint32array/lib/index.js +54 -0
- package/is-equal-uint32array/lib/main.js +61 -0
- package/is-equal-uint32array/package.json +74 -0
- package/is-equal-uint8array/README.md +103 -0
- package/is-equal-uint8array/docs/repl.txt +32 -0
- package/is-equal-uint8array/docs/types/index.d.ts +51 -0
- package/is-equal-uint8array/docs/types/test.ts +36 -0
- package/is-equal-uint8array/lib/index.js +54 -0
- package/is-equal-uint8array/lib/main.js +61 -0
- package/is-equal-uint8array/package.json +74 -0
- package/is-equal-uint8clampedarray/README.md +103 -0
- package/is-equal-uint8clampedarray/docs/repl.txt +32 -0
- package/is-equal-uint8clampedarray/docs/types/index.d.ts +51 -0
- package/is-equal-uint8clampedarray/docs/types/test.ts +36 -0
- package/is-equal-uint8clampedarray/lib/index.js +54 -0
- package/is-equal-uint8clampedarray/lib/main.js +61 -0
- package/is-equal-uint8clampedarray/package.json +74 -0
- package/is-error/README.md +131 -0
- package/is-error/docs/repl.txt +24 -0
- package/is-error/docs/types/index.d.ts +40 -0
- package/is-error/docs/types/test.ts +34 -0
- package/is-error/lib/index.js +43 -0
- package/is-error/lib/main.js +64 -0
- package/is-error/package.json +74 -0
- package/is-eval-error/README.md +149 -0
- package/is-eval-error/docs/repl.txt +30 -0
- package/is-eval-error/docs/types/index.d.ts +44 -0
- package/is-eval-error/docs/types/test.ts +34 -0
- package/is-eval-error/lib/index.js +43 -0
- package/is-eval-error/lib/main.js +68 -0
- package/is-eval-error/package.json +75 -0
- package/is-even/README.md +161 -0
- package/is-even/docs/repl.txt +74 -0
- package/is-even/docs/types/index.d.ts +125 -0
- package/is-even/docs/types/test.ts +60 -0
- package/is-even/lib/index.js +84 -0
- package/is-even/lib/main.js +66 -0
- package/is-even/lib/object.js +52 -0
- package/is-even/lib/primitive.js +52 -0
- package/is-even/package.json +73 -0
- package/is-falsy/README.md +145 -0
- package/is-falsy/docs/repl.txt +37 -0
- package/is-falsy/docs/types/index.d.ts +60 -0
- package/is-falsy/docs/types/test.ts +34 -0
- package/is-falsy/lib/index.js +58 -0
- package/is-falsy/lib/main.js +64 -0
- package/is-falsy/package.json +72 -0
- package/is-falsy-array/README.md +107 -0
- package/is-falsy-array/docs/repl.txt +27 -0
- package/is-falsy-array/docs/types/index.d.ts +42 -0
- package/is-falsy-array/docs/types/test.ts +34 -0
- package/is-falsy-array/lib/index.js +52 -0
- package/is-falsy-array/package.json +78 -0
- package/is-finite/README.md +175 -0
- package/is-finite/docs/repl.txt +72 -0
- package/is-finite/docs/types/index.d.ts +117 -0
- package/is-finite/docs/types/test.ts +60 -0
- package/is-finite/lib/index.js +76 -0
- package/is-finite/lib/main.js +60 -0
- package/is-finite/lib/object.js +55 -0
- package/is-finite/lib/primitive.js +55 -0
- package/is-finite/package.json +75 -0
- package/is-finite-array/README.md +158 -0
- package/is-finite-array/docs/repl.txt +75 -0
- package/is-finite-array/docs/types/index.d.ts +125 -0
- package/is-finite-array/docs/types/test.ts +61 -0
- package/is-finite-array/lib/index.js +82 -0
- package/is-finite-array/package.json +80 -0
- package/is-float16array/README.md +127 -0
- package/is-float16array/docs/repl.txt +24 -0
- package/is-float16array/docs/types/index.d.ts +46 -0
- package/is-float16array/docs/types/test.ts +33 -0
- package/is-float16array/lib/index.js +44 -0
- package/is-float16array/lib/main.js +55 -0
- package/is-float16array/package.json +77 -0
- package/is-float32array/README.md +138 -0
- package/is-float32array/docs/repl.txt +24 -0
- package/is-float32array/docs/types/index.d.ts +42 -0
- package/is-float32array/docs/types/test.ts +34 -0
- package/is-float32array/lib/index.js +44 -0
- package/is-float32array/lib/main.js +59 -0
- package/is-float32array/package.json +77 -0
- package/is-float32matrix-like/README.md +116 -0
- package/is-float32matrix-like/docs/repl.txt +42 -0
- package/is-float32matrix-like/docs/types/index.d.ts +44 -0
- package/is-float32matrix-like/docs/types/test.ts +33 -0
- package/is-float32matrix-like/lib/index.js +49 -0
- package/is-float32matrix-like/lib/main.js +55 -0
- package/is-float32matrix-like/package.json +79 -0
- package/is-float32ndarray-like/README.md +113 -0
- package/is-float32ndarray-like/docs/repl.txt +42 -0
- package/is-float32ndarray-like/docs/types/index.d.ts +44 -0
- package/is-float32ndarray-like/docs/types/test.ts +33 -0
- package/is-float32ndarray-like/lib/index.js +49 -0
- package/is-float32ndarray-like/lib/main.js +55 -0
- package/is-float32ndarray-like/package.json +77 -0
- package/is-float32vector-like/README.md +116 -0
- package/is-float32vector-like/docs/repl.txt +42 -0
- package/is-float32vector-like/docs/types/index.d.ts +44 -0
- package/is-float32vector-like/docs/types/test.ts +33 -0
- package/is-float32vector-like/lib/index.js +49 -0
- package/is-float32vector-like/lib/main.js +55 -0
- package/is-float32vector-like/package.json +79 -0
- package/is-float64array/README.md +138 -0
- package/is-float64array/docs/repl.txt +24 -0
- package/is-float64array/docs/types/index.d.ts +42 -0
- package/is-float64array/docs/types/test.ts +34 -0
- package/is-float64array/lib/index.js +44 -0
- package/is-float64array/lib/main.js +59 -0
- package/is-float64array/package.json +78 -0
- package/is-float64matrix-like/README.md +116 -0
- package/is-float64matrix-like/docs/repl.txt +42 -0
- package/is-float64matrix-like/docs/types/index.d.ts +44 -0
- package/is-float64matrix-like/docs/types/test.ts +33 -0
- package/is-float64matrix-like/lib/index.js +49 -0
- package/is-float64matrix-like/lib/main.js +55 -0
- package/is-float64matrix-like/package.json +78 -0
- package/is-float64ndarray-like/README.md +113 -0
- package/is-float64ndarray-like/docs/repl.txt +42 -0
- package/is-float64ndarray-like/docs/types/index.d.ts +44 -0
- package/is-float64ndarray-like/docs/types/test.ts +33 -0
- package/is-float64ndarray-like/lib/index.js +49 -0
- package/is-float64ndarray-like/lib/main.js +55 -0
- package/is-float64ndarray-like/package.json +76 -0
- package/is-float64vector-like/README.md +116 -0
- package/is-float64vector-like/docs/repl.txt +42 -0
- package/is-float64vector-like/docs/types/index.d.ts +44 -0
- package/is-float64vector-like/docs/types/test.ts +33 -0
- package/is-float64vector-like/lib/index.js +48 -0
- package/is-float64vector-like/lib/main.js +55 -0
- package/is-float64vector-like/package.json +78 -0
- package/is-function/README.md +101 -0
- package/is-function/docs/repl.txt +25 -0
- package/is-function/docs/types/index.d.ts +40 -0
- package/is-function/docs/types/test.ts +34 -0
- package/is-function/lib/index.js +44 -0
- package/is-function/lib/main.js +50 -0
- package/is-function/package.json +69 -0
- package/is-function-array/README.md +123 -0
- package/is-function-array/docs/repl.txt +29 -0
- package/is-function-array/docs/types/index.d.ts +44 -0
- package/is-function-array/docs/types/test.ts +34 -0
- package/is-function-array/lib/index.js +53 -0
- package/is-function-array/package.json +72 -0
- package/is-generator-object/README.md +127 -0
- package/is-generator-object/docs/repl.txt +35 -0
- package/is-generator-object/docs/types/index.d.ts +51 -0
- package/is-generator-object/docs/types/test.ts +34 -0
- package/is-generator-object/lib/index.js +54 -0
- package/is-generator-object/lib/main.js +66 -0
- package/is-generator-object/package.json +77 -0
- package/is-generator-object-like/README.md +119 -0
- package/is-generator-object-like/docs/repl.txt +31 -0
- package/is-generator-object-like/docs/types/index.d.ts +60 -0
- package/is-generator-object-like/docs/types/test.ts +34 -0
- package/is-generator-object-like/lib/index.js +48 -0
- package/is-generator-object-like/lib/main.js +70 -0
- package/is-generator-object-like/package.json +77 -0
- package/is-gzip-buffer/README.md +169 -0
- package/is-gzip-buffer/docs/repl.txt +37 -0
- package/is-gzip-buffer/docs/types/index.d.ts +54 -0
- package/is-gzip-buffer/docs/types/test.ts +34 -0
- package/is-gzip-buffer/lib/index.js +52 -0
- package/is-gzip-buffer/lib/main.js +76 -0
- package/is-gzip-buffer/package.json +73 -0
- package/is-hex-string/README.md +190 -0
- package/is-hex-string/bin/cli +108 -0
- package/is-hex-string/docs/repl.txt +30 -0
- package/is-hex-string/docs/types/index.d.ts +48 -0
- package/is-hex-string/docs/types/test.ts +34 -0
- package/is-hex-string/docs/usage.txt +8 -0
- package/is-hex-string/etc/cli_opts.json +17 -0
- package/is-hex-string/lib/index.js +46 -0
- package/is-hex-string/lib/main.js +89 -0
- package/is-hex-string/package.json +78 -0
- package/is-infinite/README.md +164 -0
- package/is-infinite/docs/repl.txt +72 -0
- package/is-infinite/docs/types/index.d.ts +109 -0
- package/is-infinite/docs/types/test.ts +60 -0
- package/is-infinite/lib/index.js +76 -0
- package/is-infinite/lib/main.js +58 -0
- package/is-infinite/lib/object.js +53 -0
- package/is-infinite/lib/primitive.js +53 -0
- package/is-infinite/package.json +76 -0
- package/is-inherited-property/README.md +169 -0
- package/is-inherited-property/docs/repl.txt +34 -0
- package/is-inherited-property/docs/types/index.d.ts +57 -0
- package/is-inherited-property/docs/types/test.ts +38 -0
- package/is-inherited-property/lib/index.js +50 -0
- package/is-inherited-property/lib/main.js +72 -0
- package/is-inherited-property/package.json +73 -0
- package/is-int16array/README.md +141 -0
- package/is-int16array/docs/repl.txt +24 -0
- package/is-int16array/docs/types/index.d.ts +42 -0
- package/is-int16array/docs/types/test.ts +34 -0
- package/is-int16array/lib/index.js +44 -0
- package/is-int16array/lib/main.js +59 -0
- package/is-int16array/package.json +82 -0
- package/is-int32array/README.md +141 -0
- package/is-int32array/docs/repl.txt +24 -0
- package/is-int32array/docs/types/index.d.ts +42 -0
- package/is-int32array/docs/types/test.ts +34 -0
- package/is-int32array/lib/index.js +44 -0
- package/is-int32array/lib/main.js +59 -0
- package/is-int32array/package.json +83 -0
- package/is-int8array/README.md +141 -0
- package/is-int8array/docs/repl.txt +24 -0
- package/is-int8array/docs/types/index.d.ts +42 -0
- package/is-int8array/docs/types/test.ts +34 -0
- package/is-int8array/lib/index.js +44 -0
- package/is-int8array/lib/main.js +59 -0
- package/is-int8array/package.json +81 -0
- package/is-integer/README.md +158 -0
- package/is-integer/docs/repl.txt +72 -0
- package/is-integer/docs/types/index.d.ts +117 -0
- package/is-integer/docs/types/test.ts +60 -0
- package/is-integer/lib/index.js +78 -0
- package/is-integer/lib/integer.js +48 -0
- package/is-integer/lib/main.js +58 -0
- package/is-integer/lib/object.js +53 -0
- package/is-integer/lib/primitive.js +53 -0
- package/is-integer/package.json +71 -0
- package/is-integer-array/README.md +152 -0
- package/is-integer-array/docs/repl.txt +75 -0
- package/is-integer-array/docs/types/index.d.ts +109 -0
- package/is-integer-array/docs/types/test.ts +60 -0
- package/is-integer-array/lib/index.js +82 -0
- package/is-integer-array/package.json +80 -0
- package/is-iterable-like/README.md +115 -0
- package/is-iterable-like/docs/repl.txt +38 -0
- package/is-iterable-like/docs/types/index.d.ts +51 -0
- package/is-iterable-like/docs/types/test.ts +34 -0
- package/is-iterable-like/lib/index.js +55 -0
- package/is-iterable-like/lib/main.js +65 -0
- package/is-iterable-like/package.json +75 -0
- package/is-iterator-like/README.md +123 -0
- package/is-iterator-like/docs/repl.txt +35 -0
- package/is-iterator-like/docs/types/index.d.ts +68 -0
- package/is-iterator-like/docs/types/test.ts +64 -0
- package/is-iterator-like/lib/index.js +46 -0
- package/is-iterator-like/lib/main.js +61 -0
- package/is-iterator-like/package.json +74 -0
- package/is-json/README.md +100 -0
- package/is-json/docs/repl.txt +24 -0
- package/is-json/docs/types/index.d.ts +40 -0
- package/is-json/docs/types/test.ts +34 -0
- package/is-json/lib/index.js +43 -0
- package/is-json/lib/main.js +105 -0
- package/is-json/package.json +71 -0
- package/is-kebabcase/README.md +198 -0
- package/is-kebabcase/bin/cli +108 -0
- package/is-kebabcase/docs/repl.txt +23 -0
- package/is-kebabcase/docs/types/index.d.ts +48 -0
- package/is-kebabcase/docs/types/test.ts +35 -0
- package/is-kebabcase/docs/usage.txt +9 -0
- package/is-kebabcase/etc/cli_opts.json +17 -0
- package/is-kebabcase/lib/index.js +43 -0
- package/is-kebabcase/lib/main.js +58 -0
- package/is-kebabcase/package.json +71 -0
- package/is-leap-year/README.md +203 -0
- package/is-leap-year/bin/cli +112 -0
- package/is-leap-year/docs/repl.txt +34 -0
- package/is-leap-year/docs/types/index.d.ts +52 -0
- package/is-leap-year/docs/types/test.ts +33 -0
- package/is-leap-year/docs/usage.txt +8 -0
- package/is-leap-year/etc/cli_opts.json +17 -0
- package/is-leap-year/lib/index.js +49 -0
- package/is-leap-year/lib/main.js +82 -0
- package/is-leap-year/package.json +81 -0
- package/is-little-endian/README.md +131 -0
- package/is-little-endian/bin/cli +60 -0
- package/is-little-endian/docs/repl.txt +12 -0
- package/is-little-endian/docs/types/index.d.ts +33 -0
- package/is-little-endian/docs/types/test.ts +28 -0
- package/is-little-endian/docs/usage.txt +8 -0
- package/is-little-endian/etc/cli_opts.json +14 -0
- package/is-little-endian/lib/ctors.js +37 -0
- package/is-little-endian/lib/index.js +40 -0
- package/is-little-endian/lib/main.js +72 -0
- package/is-little-endian/package.json +72 -0
- package/is-localhost/README.md +115 -0
- package/is-localhost/docs/repl.txt +25 -0
- package/is-localhost/docs/types/index.d.ts +58 -0
- package/is-localhost/docs/types/test.ts +33 -0
- package/is-localhost/lib/index.js +49 -0
- package/is-localhost/lib/main.js +81 -0
- package/is-localhost/package.json +70 -0
- package/is-lowercase/README.md +198 -0
- package/is-lowercase/bin/cli +108 -0
- package/is-lowercase/docs/repl.txt +24 -0
- package/is-lowercase/docs/types/index.d.ts +48 -0
- package/is-lowercase/docs/types/test.ts +34 -0
- package/is-lowercase/docs/usage.txt +8 -0
- package/is-lowercase/etc/cli_opts.json +17 -0
- package/is-lowercase/lib/index.js +43 -0
- package/is-lowercase/lib/main.js +63 -0
- package/is-lowercase/package.json +71 -0
- package/is-matrix-like/README.md +117 -0
- package/is-matrix-like/docs/repl.txt +41 -0
- package/is-matrix-like/docs/types/index.d.ts +43 -0
- package/is-matrix-like/docs/types/test.ts +56 -0
- package/is-matrix-like/lib/index.js +46 -0
- package/is-matrix-like/lib/main.js +57 -0
- package/is-matrix-like/package.json +73 -0
- package/is-method/README.md +166 -0
- package/is-method/docs/repl.txt +34 -0
- package/is-method/docs/types/index.d.ts +50 -0
- package/is-method/docs/types/test.ts +38 -0
- package/is-method/lib/index.js +47 -0
- package/is-method/lib/main.js +57 -0
- package/is-method/package.json +72 -0
- package/is-method-in/README.md +173 -0
- package/is-method-in/docs/repl.txt +34 -0
- package/is-method-in/docs/types/index.d.ts +49 -0
- package/is-method-in/docs/types/test.ts +38 -0
- package/is-method-in/lib/index.js +47 -0
- package/is-method-in/lib/main.js +64 -0
- package/is-method-in/package.json +78 -0
- package/is-mobile/README.md +89 -0
- package/is-mobile/docs/repl.txt +12 -0
- package/is-mobile/docs/types/index.d.ts +33 -0
- package/is-mobile/docs/types/test.ts +28 -0
- package/is-mobile/lib/browser.js +58 -0
- package/is-mobile/lib/index.js +45 -0
- package/is-mobile/lib/main.js +33 -0
- package/is-mobile/package.json +66 -0
- package/is-multi-slice/README.md +107 -0
- package/is-multi-slice/docs/repl.txt +26 -0
- package/is-multi-slice/docs/types/index.d.ts +45 -0
- package/is-multi-slice/docs/types/test.ts +36 -0
- package/is-multi-slice/lib/index.js +43 -0
- package/is-multi-slice/lib/main.js +53 -0
- package/is-multi-slice/package.json +70 -0
- package/is-named-typed-tuple-like/README.md +107 -0
- package/is-named-typed-tuple-like/docs/repl.txt +30 -0
- package/is-named-typed-tuple-like/docs/types/index.d.ts +45 -0
- package/is-named-typed-tuple-like/docs/types/test.ts +34 -0
- package/is-named-typed-tuple-like/lib/index.js +48 -0
- package/is-named-typed-tuple-like/lib/main.js +65 -0
- package/is-named-typed-tuple-like/package.json +72 -0
- package/is-nan/README.md +156 -0
- package/is-nan/docs/repl.txt +73 -0
- package/is-nan/docs/types/index.d.ts +121 -0
- package/is-nan/docs/types/test.ts +60 -0
- package/is-nan/lib/index.js +79 -0
- package/is-nan/lib/main.js +58 -0
- package/is-nan/lib/object.js +53 -0
- package/is-nan/lib/primitive.js +57 -0
- package/is-nan/package.json +72 -0
- package/is-nan-array/README.md +149 -0
- package/is-nan-array/docs/repl.txt +73 -0
- package/is-nan-array/docs/types/index.d.ts +105 -0
- package/is-nan-array/docs/types/test.ts +61 -0
- package/is-nan-array/lib/index.js +73 -0
- package/is-nan-array/package.json +76 -0
- package/is-native-function/README.md +139 -0
- package/is-native-function/docs/repl.txt +27 -0
- package/is-native-function/docs/types/index.d.ts +43 -0
- package/is-native-function/docs/types/test.ts +34 -0
- package/is-native-function/lib/index.js +47 -0
- package/is-native-function/lib/main.js +57 -0
- package/is-native-function/package.json +72 -0
- package/is-ndarray-descriptor/README.md +100 -0
- package/is-ndarray-descriptor/docs/repl.txt +37 -0
- package/is-ndarray-descriptor/docs/types/index.d.ts +52 -0
- package/is-ndarray-descriptor/docs/types/test.ts +36 -0
- package/is-ndarray-descriptor/lib/index.js +44 -0
- package/is-ndarray-descriptor/lib/main.js +61 -0
- package/is-ndarray-descriptor/package.json +71 -0
- package/is-ndarray-like/README.md +131 -0
- package/is-ndarray-like/docs/repl.txt +40 -0
- package/is-ndarray-like/docs/types/index.d.ts +43 -0
- package/is-ndarray-like/docs/types/test.ts +56 -0
- package/is-ndarray-like/lib/index.js +45 -0
- package/is-ndarray-like/lib/main.js +69 -0
- package/is-ndarray-like/package.json +70 -0
- package/is-ndarray-like-with-data-type/README.md +101 -0
- package/is-ndarray-like-with-data-type/docs/repl.txt +44 -0
- package/is-ndarray-like-with-data-type/docs/types/index.d.ts +44 -0
- package/is-ndarray-like-with-data-type/docs/types/test.ts +58 -0
- package/is-ndarray-like-with-data-type/lib/index.js +45 -0
- package/is-ndarray-like-with-data-type/lib/main.js +54 -0
- package/is-ndarray-like-with-data-type/package.json +70 -0
- package/is-negative-finite/README.md +173 -0
- package/is-negative-finite/docs/repl.txt +86 -0
- package/is-negative-finite/docs/types/index.d.ts +137 -0
- package/is-negative-finite/docs/types/test.ts +60 -0
- package/is-negative-finite/lib/index.js +88 -0
- package/is-negative-finite/lib/main.js +62 -0
- package/is-negative-finite/lib/object.js +62 -0
- package/is-negative-finite/lib/primitive.js +62 -0
- package/is-negative-finite/package.json +73 -0
- package/is-negative-integer/README.md +158 -0
- package/is-negative-integer/docs/repl.txt +75 -0
- package/is-negative-integer/docs/types/index.d.ts +125 -0
- package/is-negative-integer/docs/types/test.ts +60 -0
- package/is-negative-integer/lib/index.js +79 -0
- package/is-negative-integer/lib/main.js +62 -0
- package/is-negative-integer/lib/object.js +52 -0
- package/is-negative-integer/lib/primitive.js +52 -0
- package/is-negative-integer/package.json +75 -0
- package/is-negative-integer-array/README.md +155 -0
- package/is-negative-integer-array/docs/repl.txt +75 -0
- package/is-negative-integer-array/docs/types/index.d.ts +109 -0
- package/is-negative-integer-array/docs/types/test.ts +60 -0
- package/is-negative-integer-array/lib/index.js +82 -0
- package/is-negative-integer-array/package.json +81 -0
- package/is-negative-number/README.md +158 -0
- package/is-negative-number/docs/repl.txt +74 -0
- package/is-negative-number/docs/types/index.d.ts +125 -0
- package/is-negative-number/docs/types/test.ts +60 -0
- package/is-negative-number/lib/index.js +81 -0
- package/is-negative-number/lib/main.js +62 -0
- package/is-negative-number/lib/object.js +52 -0
- package/is-negative-number/lib/primitive.js +52 -0
- package/is-negative-number/package.json +71 -0
- package/is-negative-number-array/README.md +146 -0
- package/is-negative-number-array/docs/repl.txt +75 -0
- package/is-negative-number-array/docs/types/index.d.ts +109 -0
- package/is-negative-number-array/docs/types/test.ts +60 -0
- package/is-negative-number-array/lib/index.js +76 -0
- package/is-negative-number-array/package.json +75 -0
- package/is-negative-zero/README.md +161 -0
- package/is-negative-zero/docs/repl.txt +74 -0
- package/is-negative-zero/docs/types/index.d.ts +133 -0
- package/is-negative-zero/docs/types/test.ts +61 -0
- package/is-negative-zero/lib/index.js +82 -0
- package/is-negative-zero/lib/main.js +66 -0
- package/is-negative-zero/lib/object.js +53 -0
- package/is-negative-zero/lib/primitive.js +53 -0
- package/is-negative-zero/package.json +75 -0
- package/is-node/README.md +91 -0
- package/is-node/docs/repl.txt +12 -0
- package/is-node/docs/types/index.d.ts +33 -0
- package/is-node/docs/types/test.ts +28 -0
- package/is-node/lib/browser.js +23 -0
- package/is-node/lib/global_scope.js +52 -0
- package/is-node/lib/index.js +45 -0
- package/is-node/lib/main.js +108 -0
- package/is-node/lib/to_string.js +42 -0
- package/is-node/package.json +68 -0
- package/is-node-builtin/README.md +179 -0
- package/is-node-builtin/bin/cli +108 -0
- package/is-node-builtin/docs/repl.txt +29 -0
- package/is-node-builtin/docs/types/index.d.ts +48 -0
- package/is-node-builtin/docs/types/test.ts +35 -0
- package/is-node-builtin/docs/usage.txt +8 -0
- package/is-node-builtin/etc/cli_opts.json +17 -0
- package/is-node-builtin/lib/builtins.json +68 -0
- package/is-node-builtin/lib/index.js +46 -0
- package/is-node-builtin/lib/main.js +68 -0
- package/is-node-builtin/package.json +76 -0
- package/is-node-duplex-stream-like/README.md +135 -0
- package/is-node-duplex-stream-like/docs/repl.txt +26 -0
- package/is-node-duplex-stream-like/docs/types/index.d.ts +43 -0
- package/is-node-duplex-stream-like/docs/types/test.ts +34 -0
- package/is-node-duplex-stream-like/lib/index.js +46 -0
- package/is-node-duplex-stream-like/lib/main.js +57 -0
- package/is-node-duplex-stream-like/package.json +78 -0
- package/is-node-readable-stream-like/README.md +135 -0
- package/is-node-readable-stream-like/docs/repl.txt +26 -0
- package/is-node-readable-stream-like/docs/types/index.d.ts +43 -0
- package/is-node-readable-stream-like/docs/types/test.ts +34 -0
- package/is-node-readable-stream-like/lib/index.js +46 -0
- package/is-node-readable-stream-like/lib/main.js +63 -0
- package/is-node-readable-stream-like/package.json +74 -0
- package/is-node-repl/README.md +79 -0
- package/is-node-repl/docs/repl.txt +17 -0
- package/is-node-repl/docs/types/index.d.ts +41 -0
- package/is-node-repl/docs/types/test.ts +33 -0
- package/is-node-repl/lib/browser.js +33 -0
- package/is-node-repl/lib/index.js +40 -0
- package/is-node-repl/lib/main.js +79 -0
- package/is-node-repl/lib/parent.js +36 -0
- package/is-node-repl/lib/stacktrace.js +37 -0
- package/is-node-repl/package.json +67 -0
- package/is-node-stream-like/README.md +123 -0
- package/is-node-stream-like/docs/repl.txt +26 -0
- package/is-node-stream-like/docs/types/index.d.ts +43 -0
- package/is-node-stream-like/docs/types/test.ts +34 -0
- package/is-node-stream-like/lib/index.js +46 -0
- package/is-node-stream-like/lib/main.js +62 -0
- package/is-node-stream-like/package.json +72 -0
- package/is-node-transform-stream-like/README.md +135 -0
- package/is-node-transform-stream-like/docs/repl.txt +26 -0
- package/is-node-transform-stream-like/docs/types/index.d.ts +43 -0
- package/is-node-transform-stream-like/docs/types/test.ts +34 -0
- package/is-node-transform-stream-like/lib/index.js +46 -0
- package/is-node-transform-stream-like/lib/main.js +60 -0
- package/is-node-transform-stream-like/package.json +80 -0
- package/is-node-writable-stream-like/README.md +135 -0
- package/is-node-writable-stream-like/docs/repl.txt +26 -0
- package/is-node-writable-stream-like/docs/types/index.d.ts +43 -0
- package/is-node-writable-stream-like/docs/types/test.ts +34 -0
- package/is-node-writable-stream-like/lib/index.js +46 -0
- package/is-node-writable-stream-like/lib/main.js +63 -0
- package/is-node-writable-stream-like/package.json +74 -0
- package/is-nonconfigurable-property/README.md +161 -0
- package/is-nonconfigurable-property/docs/repl.txt +37 -0
- package/is-nonconfigurable-property/docs/types/index.d.ts +53 -0
- package/is-nonconfigurable-property/docs/types/test.ts +44 -0
- package/is-nonconfigurable-property/lib/index.js +55 -0
- package/is-nonconfigurable-property/lib/main.js +63 -0
- package/is-nonconfigurable-property/package.json +72 -0
- package/is-nonconfigurable-property-in/README.md +203 -0
- package/is-nonconfigurable-property-in/docs/repl.txt +38 -0
- package/is-nonconfigurable-property-in/docs/types/index.d.ts +53 -0
- package/is-nonconfigurable-property-in/docs/types/test.ts +44 -0
- package/is-nonconfigurable-property-in/lib/index.js +55 -0
- package/is-nonconfigurable-property-in/lib/main.js +63 -0
- package/is-nonconfigurable-property-in/package.json +78 -0
- package/is-nonenumerable-property/README.md +161 -0
- package/is-nonenumerable-property/docs/repl.txt +34 -0
- package/is-nonenumerable-property/docs/types/index.d.ts +53 -0
- package/is-nonenumerable-property/docs/types/test.ts +44 -0
- package/is-nonenumerable-property/lib/index.js +55 -0
- package/is-nonenumerable-property/lib/main.js +66 -0
- package/is-nonenumerable-property/package.json +73 -0
- package/is-nonenumerable-property-in/README.md +197 -0
- package/is-nonenumerable-property-in/docs/repl.txt +35 -0
- package/is-nonenumerable-property-in/docs/types/index.d.ts +53 -0
- package/is-nonenumerable-property-in/docs/types/test.ts +44 -0
- package/is-nonenumerable-property-in/lib/index.js +55 -0
- package/is-nonenumerable-property-in/lib/main.js +63 -0
- package/is-nonenumerable-property-in/package.json +79 -0
- package/is-nonnegative-finite/README.md +173 -0
- package/is-nonnegative-finite/docs/repl.txt +77 -0
- package/is-nonnegative-finite/docs/types/index.d.ts +141 -0
- package/is-nonnegative-finite/docs/types/test.ts +60 -0
- package/is-nonnegative-finite/lib/index.js +85 -0
- package/is-nonnegative-finite/lib/main.js +66 -0
- package/is-nonnegative-finite/lib/object.js +61 -0
- package/is-nonnegative-finite/lib/primitive.js +61 -0
- package/is-nonnegative-finite/package.json +72 -0
- package/is-nonnegative-integer/README.md +164 -0
- package/is-nonnegative-integer/docs/repl.txt +75 -0
- package/is-nonnegative-integer/docs/types/index.d.ts +125 -0
- package/is-nonnegative-integer/docs/types/test.ts +60 -0
- package/is-nonnegative-integer/lib/index.js +79 -0
- package/is-nonnegative-integer/lib/main.js +62 -0
- package/is-nonnegative-integer/lib/object.js +52 -0
- package/is-nonnegative-integer/lib/primitive.js +52 -0
- package/is-nonnegative-integer/package.json +72 -0
- package/is-nonnegative-integer-array/README.md +146 -0
- package/is-nonnegative-integer-array/docs/repl.txt +74 -0
- package/is-nonnegative-integer-array/docs/types/index.d.ts +101 -0
- package/is-nonnegative-integer-array/docs/types/test.ts +60 -0
- package/is-nonnegative-integer-array/lib/index.js +76 -0
- package/is-nonnegative-integer-array/package.json +78 -0
- package/is-nonnegative-number/README.md +164 -0
- package/is-nonnegative-number/docs/repl.txt +75 -0
- package/is-nonnegative-number/docs/types/index.d.ts +125 -0
- package/is-nonnegative-number/docs/types/test.ts +60 -0
- package/is-nonnegative-number/lib/index.js +79 -0
- package/is-nonnegative-number/lib/main.js +62 -0
- package/is-nonnegative-number/lib/object.js +52 -0
- package/is-nonnegative-number/lib/primitive.js +52 -0
- package/is-nonnegative-number/package.json +71 -0
- package/is-nonnegative-number-array/README.md +143 -0
- package/is-nonnegative-number-array/docs/repl.txt +74 -0
- package/is-nonnegative-number-array/docs/types/index.d.ts +101 -0
- package/is-nonnegative-number-array/docs/types/test.ts +60 -0
- package/is-nonnegative-number-array/lib/index.js +76 -0
- package/is-nonnegative-number-array/package.json +75 -0
- package/is-nonpositive-finite/README.md +169 -0
- package/is-nonpositive-finite/docs/repl.txt +75 -0
- package/is-nonpositive-finite/docs/types/index.d.ts +125 -0
- package/is-nonpositive-finite/docs/types/test.ts +60 -0
- package/is-nonpositive-finite/lib/index.js +55 -0
- package/is-nonpositive-finite/lib/main.js +57 -0
- package/is-nonpositive-finite/lib/object.js +51 -0
- package/is-nonpositive-finite/lib/primitive.js +50 -0
- package/is-nonpositive-finite/package.json +71 -0
- package/is-nonpositive-integer/README.md +158 -0
- package/is-nonpositive-integer/docs/repl.txt +75 -0
- package/is-nonpositive-integer/docs/types/index.d.ts +125 -0
- package/is-nonpositive-integer/docs/types/test.ts +60 -0
- package/is-nonpositive-integer/lib/index.js +79 -0
- package/is-nonpositive-integer/lib/main.js +62 -0
- package/is-nonpositive-integer/lib/object.js +52 -0
- package/is-nonpositive-integer/lib/primitive.js +52 -0
- package/is-nonpositive-integer/package.json +72 -0
- package/is-nonpositive-integer-array/README.md +158 -0
- package/is-nonpositive-integer-array/docs/repl.txt +74 -0
- package/is-nonpositive-integer-array/docs/types/index.d.ts +109 -0
- package/is-nonpositive-integer-array/docs/types/test.ts +60 -0
- package/is-nonpositive-integer-array/lib/index.js +76 -0
- package/is-nonpositive-integer-array/package.json +81 -0
- package/is-nonpositive-number/README.md +158 -0
- package/is-nonpositive-number/docs/repl.txt +75 -0
- package/is-nonpositive-number/docs/types/index.d.ts +125 -0
- package/is-nonpositive-number/docs/types/test.ts +60 -0
- package/is-nonpositive-number/lib/index.js +79 -0
- package/is-nonpositive-number/lib/main.js +62 -0
- package/is-nonpositive-number/lib/object.js +52 -0
- package/is-nonpositive-number/lib/primitive.js +52 -0
- package/is-nonpositive-number/package.json +71 -0
- package/is-nonpositive-number-array/README.md +143 -0
- package/is-nonpositive-number-array/docs/repl.txt +74 -0
- package/is-nonpositive-number-array/docs/types/index.d.ts +109 -0
- package/is-nonpositive-number-array/docs/types/test.ts +60 -0
- package/is-nonpositive-number-array/lib/index.js +76 -0
- package/is-nonpositive-number-array/package.json +75 -0
- package/is-nonsymmetric-matrix/README.md +111 -0
- package/is-nonsymmetric-matrix/docs/repl.txt +32 -0
- package/is-nonsymmetric-matrix/docs/types/index.d.ts +47 -0
- package/is-nonsymmetric-matrix/docs/types/test.ts +56 -0
- package/is-nonsymmetric-matrix/lib/index.js +45 -0
- package/is-nonsymmetric-matrix/lib/main.js +73 -0
- package/is-nonsymmetric-matrix/package.json +78 -0
- package/is-null/README.md +115 -0
- package/is-null/docs/repl.txt +24 -0
- package/is-null/docs/types/index.d.ts +39 -0
- package/is-null/docs/types/test.ts +34 -0
- package/is-null/lib/index.js +42 -0
- package/is-null/lib/main.js +41 -0
- package/is-null/package.json +69 -0
- package/is-null-array/README.md +110 -0
- package/is-null-array/docs/repl.txt +25 -0
- package/is-null-array/docs/types/index.d.ts +39 -0
- package/is-null-array/docs/types/test.ts +34 -0
- package/is-null-array/lib/index.js +43 -0
- package/is-null-array/lib/main.js +49 -0
- package/is-null-array/package.json +71 -0
- package/is-number/README.md +140 -0
- package/is-number/docs/repl.txt +72 -0
- package/is-number/docs/types/index.d.ts +121 -0
- package/is-number/docs/types/test.ts +60 -0
- package/is-number/lib/index.js +79 -0
- package/is-number/lib/main.js +58 -0
- package/is-number/lib/object.js +66 -0
- package/is-number/lib/primitive.js +46 -0
- package/is-number/lib/tostring.js +34 -0
- package/is-number/lib/try2serialize.js +47 -0
- package/is-number/package.json +73 -0
- package/is-number-array/README.md +148 -0
- package/is-number-array/docs/repl.txt +73 -0
- package/is-number-array/docs/types/index.d.ts +109 -0
- package/is-number-array/docs/types/test.ts +61 -0
- package/is-number-array/lib/index.js +76 -0
- package/is-number-array/package.json +74 -0
- package/is-numeric-array/README.md +166 -0
- package/is-numeric-array/docs/repl.txt +27 -0
- package/is-numeric-array/docs/types/index.d.ts +46 -0
- package/is-numeric-array/docs/types/test.ts +34 -0
- package/is-numeric-array/lib/index.js +46 -0
- package/is-numeric-array/lib/main.js +56 -0
- package/is-numeric-array/package.json +75 -0
- package/is-object/README.md +125 -0
- package/is-object/docs/repl.txt +24 -0
- package/is-object/docs/types/index.d.ts +40 -0
- package/is-object/docs/types/test.ts +34 -0
- package/is-object/lib/index.js +43 -0
- package/is-object/lib/main.js +53 -0
- package/is-object/package.json +70 -0
- package/is-object-array/README.md +126 -0
- package/is-object-array/docs/repl.txt +27 -0
- package/is-object-array/docs/types/index.d.ts +42 -0
- package/is-object-array/docs/types/test.ts +34 -0
- package/is-object-array/lib/index.js +46 -0
- package/is-object-array/lib/main.js +52 -0
- package/is-object-array/package.json +72 -0
- package/is-object-like/README.md +173 -0
- package/is-object-like/docs/repl.txt +29 -0
- package/is-object-like/docs/types/index.d.ts +48 -0
- package/is-object-like/docs/types/test.ts +34 -0
- package/is-object-like/lib/index.js +67 -0
- package/is-object-like/lib/main.js +49 -0
- package/is-object-like/package.json +73 -0
- package/is-odd/README.md +161 -0
- package/is-odd/docs/repl.txt +75 -0
- package/is-odd/docs/types/index.d.ts +125 -0
- package/is-odd/docs/types/test.ts +60 -0
- package/is-odd/lib/index.js +82 -0
- package/is-odd/lib/main.js +66 -0
- package/is-odd/lib/object.js +57 -0
- package/is-odd/lib/primitive.js +57 -0
- package/is-odd/package.json +73 -0
- package/is-pascalcase/README.md +195 -0
- package/is-pascalcase/bin/cli +108 -0
- package/is-pascalcase/docs/repl.txt +23 -0
- package/is-pascalcase/docs/types/index.d.ts +48 -0
- package/is-pascalcase/docs/types/test.ts +34 -0
- package/is-pascalcase/docs/usage.txt +8 -0
- package/is-pascalcase/etc/cli_opts.json +17 -0
- package/is-pascalcase/lib/index.js +43 -0
- package/is-pascalcase/lib/main.js +58 -0
- package/is-pascalcase/package.json +71 -0
- package/is-persymmetric-matrix/README.md +111 -0
- package/is-persymmetric-matrix/docs/repl.txt +33 -0
- package/is-persymmetric-matrix/docs/types/index.d.ts +47 -0
- package/is-persymmetric-matrix/docs/types/test.ts +56 -0
- package/is-persymmetric-matrix/lib/index.js +45 -0
- package/is-persymmetric-matrix/lib/main.js +72 -0
- package/is-persymmetric-matrix/package.json +78 -0
- package/is-plain-object/README.md +101 -0
- package/is-plain-object/docs/repl.txt +24 -0
- package/is-plain-object/docs/types/index.d.ts +40 -0
- package/is-plain-object/docs/types/test.ts +34 -0
- package/is-plain-object/lib/index.js +43 -0
- package/is-plain-object/lib/main.js +112 -0
- package/is-plain-object/package.json +71 -0
- package/is-plain-object-array/README.md +126 -0
- package/is-plain-object-array/docs/repl.txt +27 -0
- package/is-plain-object-array/docs/types/index.d.ts +42 -0
- package/is-plain-object-array/docs/types/test.ts +34 -0
- package/is-plain-object-array/lib/index.js +46 -0
- package/is-plain-object-array/lib/main.js +52 -0
- package/is-plain-object-array/package.json +75 -0
- package/is-positive-finite/README.md +176 -0
- package/is-positive-finite/docs/repl.txt +83 -0
- package/is-positive-finite/docs/types/index.d.ts +157 -0
- package/is-positive-finite/docs/types/test.ts +60 -0
- package/is-positive-finite/lib/index.js +85 -0
- package/is-positive-finite/lib/main.js +62 -0
- package/is-positive-finite/lib/object.js +58 -0
- package/is-positive-finite/lib/primitive.js +58 -0
- package/is-positive-finite/package.json +73 -0
- package/is-positive-integer/README.md +161 -0
- package/is-positive-integer/docs/repl.txt +75 -0
- package/is-positive-integer/docs/types/index.d.ts +133 -0
- package/is-positive-integer/docs/types/test.ts +60 -0
- package/is-positive-integer/lib/index.js +79 -0
- package/is-positive-integer/lib/main.js +66 -0
- package/is-positive-integer/lib/object.js +52 -0
- package/is-positive-integer/lib/primitive.js +52 -0
- package/is-positive-integer/package.json +72 -0
- package/is-positive-integer-array/README.md +152 -0
- package/is-positive-integer-array/docs/repl.txt +75 -0
- package/is-positive-integer-array/docs/types/index.d.ts +101 -0
- package/is-positive-integer-array/docs/types/test.ts +60 -0
- package/is-positive-integer-array/lib/index.js +76 -0
- package/is-positive-integer-array/package.json +78 -0
- package/is-positive-number/README.md +158 -0
- package/is-positive-number/docs/repl.txt +75 -0
- package/is-positive-number/docs/types/index.d.ts +125 -0
- package/is-positive-number/docs/types/test.ts +60 -0
- package/is-positive-number/lib/index.js +79 -0
- package/is-positive-number/lib/main.js +62 -0
- package/is-positive-number/lib/object.js +52 -0
- package/is-positive-number/lib/primitive.js +52 -0
- package/is-positive-number/package.json +71 -0
- package/is-positive-number-array/README.md +152 -0
- package/is-positive-number-array/docs/repl.txt +75 -0
- package/is-positive-number-array/docs/types/index.d.ts +101 -0
- package/is-positive-number-array/docs/types/test.ts +60 -0
- package/is-positive-number-array/lib/index.js +76 -0
- package/is-positive-number-array/package.json +75 -0
- package/is-positive-zero/README.md +161 -0
- package/is-positive-zero/docs/repl.txt +74 -0
- package/is-positive-zero/docs/types/index.d.ts +133 -0
- package/is-positive-zero/docs/types/test.ts +61 -0
- package/is-positive-zero/lib/index.js +82 -0
- package/is-positive-zero/lib/main.js +66 -0
- package/is-positive-zero/lib/object.js +53 -0
- package/is-positive-zero/lib/primitive.js +53 -0
- package/is-positive-zero/package.json +75 -0
- package/is-prime/README.md +181 -0
- package/is-prime/docs/repl.txt +75 -0
- package/is-prime/docs/types/index.d.ts +125 -0
- package/is-prime/docs/types/test.ts +60 -0
- package/is-prime/lib/index.js +79 -0
- package/is-prime/lib/main.js +62 -0
- package/is-prime/lib/object.js +53 -0
- package/is-prime/lib/primitive.js +53 -0
- package/is-prime/package.json +76 -0
- package/is-primitive/README.md +144 -0
- package/is-primitive/docs/repl.txt +24 -0
- package/is-primitive/docs/types/index.d.ts +40 -0
- package/is-primitive/docs/types/test.ts +34 -0
- package/is-primitive/lib/index.js +43 -0
- package/is-primitive/lib/main.js +51 -0
- package/is-primitive/package.json +75 -0
- package/is-primitive-array/README.md +115 -0
- package/is-primitive-array/docs/repl.txt +28 -0
- package/is-primitive-array/docs/types/index.d.ts +42 -0
- package/is-primitive-array/docs/types/test.ts +34 -0
- package/is-primitive-array/lib/index.js +46 -0
- package/is-primitive-array/lib/main.js +52 -0
- package/is-primitive-array/package.json +77 -0
- package/is-prng-like/README.md +99 -0
- package/is-prng-like/docs/repl.txt +28 -0
- package/is-prng-like/docs/types/index.d.ts +41 -0
- package/is-prng-like/docs/types/test.ts +35 -0
- package/is-prng-like/lib/index.js +44 -0
- package/is-prng-like/lib/main.js +56 -0
- package/is-prng-like/package.json +73 -0
- package/is-probability/README.md +175 -0
- package/is-probability/docs/repl.txt +77 -0
- package/is-probability/docs/types/index.d.ts +125 -0
- package/is-probability/docs/types/test.ts +60 -0
- package/is-probability/lib/index.js +79 -0
- package/is-probability/lib/main.js +62 -0
- package/is-probability/lib/object.js +53 -0
- package/is-probability/lib/primitive.js +53 -0
- package/is-probability/package.json +75 -0
- package/is-probability-array/README.md +166 -0
- package/is-probability-array/docs/repl.txt +75 -0
- package/is-probability-array/docs/types/index.d.ts +101 -0
- package/is-probability-array/docs/types/test.ts +60 -0
- package/is-probability-array/lib/index.js +79 -0
- package/is-probability-array/package.json +74 -0
- package/is-property-key/README.md +156 -0
- package/is-property-key/docs/repl.txt +25 -0
- package/is-property-key/docs/types/index.d.ts +54 -0
- package/is-property-key/docs/types/test.ts +34 -0
- package/is-property-key/lib/index.js +43 -0
- package/is-property-key/lib/main.js +67 -0
- package/is-property-key/package.json +77 -0
- package/is-prototype-of/README.md +240 -0
- package/is-prototype-of/docs/repl.txt +34 -0
- package/is-prototype-of/docs/types/index.d.ts +51 -0
- package/is-prototype-of/docs/types/test.ts +33 -0
- package/is-prototype-of/lib/index.js +52 -0
- package/is-prototype-of/lib/main.js +75 -0
- package/is-prototype-of/package.json +80 -0
- package/is-ragged-nested-array/README.md +106 -0
- package/is-ragged-nested-array/docs/repl.txt +26 -0
- package/is-ragged-nested-array/docs/types/index.d.ts +44 -0
- package/is-ragged-nested-array/docs/types/test.ts +35 -0
- package/is-ragged-nested-array/lib/index.js +46 -0
- package/is-ragged-nested-array/lib/main.js +67 -0
- package/is-ragged-nested-array/package.json +75 -0
- package/is-range-error/README.md +149 -0
- package/is-range-error/docs/repl.txt +30 -0
- package/is-range-error/docs/types/index.d.ts +44 -0
- package/is-range-error/docs/types/test.ts +34 -0
- package/is-range-error/lib/index.js +43 -0
- package/is-range-error/lib/main.js +68 -0
- package/is-range-error/package.json +75 -0
- package/is-read-only-property/README.md +188 -0
- package/is-read-only-property/docs/repl.txt +34 -0
- package/is-read-only-property/docs/types/index.d.ts +53 -0
- package/is-read-only-property/docs/types/test.ts +44 -0
- package/is-read-only-property/lib/index.js +55 -0
- package/is-read-only-property/lib/main.js +76 -0
- package/is-read-only-property/package.json +74 -0
- package/is-read-only-property-in/README.md +194 -0
- package/is-read-only-property-in/docs/repl.txt +35 -0
- package/is-read-only-property-in/docs/types/index.d.ts +53 -0
- package/is-read-only-property-in/docs/types/test.ts +44 -0
- package/is-read-only-property-in/lib/index.js +55 -0
- package/is-read-only-property-in/lib/main.js +76 -0
- package/is-read-only-property-in/package.json +78 -0
- package/is-read-write-property/README.md +182 -0
- package/is-read-write-property/docs/repl.txt +33 -0
- package/is-read-write-property/docs/types/index.d.ts +56 -0
- package/is-read-write-property/docs/types/test.ts +48 -0
- package/is-read-write-property/lib/index.js +58 -0
- package/is-read-write-property/lib/main.js +78 -0
- package/is-read-write-property/package.json +75 -0
- package/is-read-write-property-in/README.md +182 -0
- package/is-read-write-property-in/docs/repl.txt +34 -0
- package/is-read-write-property-in/docs/types/index.d.ts +56 -0
- package/is-read-write-property-in/docs/types/test.ts +48 -0
- package/is-read-write-property-in/lib/index.js +58 -0
- package/is-read-write-property-in/lib/main.js +78 -0
- package/is-read-write-property-in/package.json +79 -0
- package/is-readable-property/README.md +179 -0
- package/is-readable-property/docs/repl.txt +33 -0
- package/is-readable-property/docs/types/index.d.ts +56 -0
- package/is-readable-property/docs/types/test.ts +48 -0
- package/is-readable-property/lib/index.js +58 -0
- package/is-readable-property/lib/main.js +72 -0
- package/is-readable-property/package.json +72 -0
- package/is-readable-property-in/README.md +179 -0
- package/is-readable-property-in/docs/repl.txt +33 -0
- package/is-readable-property-in/docs/types/index.d.ts +56 -0
- package/is-readable-property-in/docs/types/test.ts +48 -0
- package/is-readable-property-in/lib/index.js +58 -0
- package/is-readable-property-in/lib/main.js +72 -0
- package/is-readable-property-in/package.json +76 -0
- package/is-reference-error/README.md +149 -0
- package/is-reference-error/docs/repl.txt +30 -0
- package/is-reference-error/docs/types/index.d.ts +44 -0
- package/is-reference-error/docs/types/test.ts +34 -0
- package/is-reference-error/lib/index.js +43 -0
- package/is-reference-error/lib/main.js +68 -0
- package/is-reference-error/package.json +75 -0
- package/is-regexp/README.md +94 -0
- package/is-regexp/docs/repl.txt +24 -0
- package/is-regexp/docs/types/index.d.ts +40 -0
- package/is-regexp/docs/types/test.ts +34 -0
- package/is-regexp/lib/exec.js +26 -0
- package/is-regexp/lib/index.js +43 -0
- package/is-regexp/lib/main.js +65 -0
- package/is-regexp/lib/try2exec.js +47 -0
- package/is-regexp/package.json +72 -0
- package/is-regexp-string/README.md +190 -0
- package/is-regexp-string/bin/cli +107 -0
- package/is-regexp-string/docs/repl.txt +28 -0
- package/is-regexp-string/docs/types/index.d.ts +52 -0
- package/is-regexp-string/docs/types/test.ts +34 -0
- package/is-regexp-string/docs/usage.txt +8 -0
- package/is-regexp-string/etc/cli_opts.json +17 -0
- package/is-regexp-string/lib/index.js +49 -0
- package/is-regexp-string/lib/main.js +62 -0
- package/is-regexp-string/package.json +77 -0
- package/is-relative-path/README.md +271 -0
- package/is-relative-path/bin/cli +116 -0
- package/is-relative-path/docs/repl.txt +73 -0
- package/is-relative-path/docs/types/index.d.ts +131 -0
- package/is-relative-path/docs/types/test.ts +58 -0
- package/is-relative-path/docs/usage.txt +9 -0
- package/is-relative-path/etc/cli_opts.json +18 -0
- package/is-relative-path/lib/index.js +68 -0
- package/is-relative-path/lib/posix.js +53 -0
- package/is-relative-path/lib/win32.js +53 -0
- package/is-relative-path/package.json +82 -0
- package/is-relative-uri/README.md +227 -0
- package/is-relative-uri/bin/cli +104 -0
- package/is-relative-uri/docs/repl.txt +25 -0
- package/is-relative-uri/docs/types/index.d.ts +48 -0
- package/is-relative-uri/docs/types/test.ts +33 -0
- package/is-relative-uri/docs/usage.txt +8 -0
- package/is-relative-uri/etc/cli_opts.json +17 -0
- package/is-relative-uri/lib/index.js +43 -0
- package/is-relative-uri/lib/main.js +162 -0
- package/is-relative-uri/package.json +75 -0
- package/is-safe-integer/README.md +198 -0
- package/is-safe-integer/docs/repl.txt +77 -0
- package/is-safe-integer/docs/types/index.d.ts +130 -0
- package/is-safe-integer/docs/types/test.ts +60 -0
- package/is-safe-integer/lib/index.js +79 -0
- package/is-safe-integer/lib/main.js +62 -0
- package/is-safe-integer/lib/object.js +53 -0
- package/is-safe-integer/lib/primitive.js +53 -0
- package/is-safe-integer/package.json +77 -0
- package/is-safe-integer-array/README.md +161 -0
- package/is-safe-integer-array/docs/repl.txt +86 -0
- package/is-safe-integer-array/docs/types/index.d.ts +129 -0
- package/is-safe-integer-array/docs/types/test.ts +60 -0
- package/is-safe-integer-array/lib/index.js +82 -0
- package/is-safe-integer-array/package.json +83 -0
- package/is-same-accessor-array/README.md +115 -0
- package/is-same-accessor-array/docs/repl.txt +36 -0
- package/is-same-accessor-array/docs/types/index.d.ts +61 -0
- package/is-same-accessor-array/docs/types/test.ts +36 -0
- package/is-same-accessor-array/lib/index.js +64 -0
- package/is-same-accessor-array/lib/main.js +67 -0
- package/is-same-accessor-array/package.json +93 -0
- package/is-same-array/README.md +125 -0
- package/is-same-array/docs/repl.txt +35 -0
- package/is-same-array/docs/types/index.d.ts +51 -0
- package/is-same-array/docs/types/test.ts +36 -0
- package/is-same-array/lib/index.js +52 -0
- package/is-same-array/lib/main.js +57 -0
- package/is-same-array/package.json +77 -0
- package/is-same-array-like/README.md +122 -0
- package/is-same-array-like/docs/repl.txt +35 -0
- package/is-same-array-like/docs/types/index.d.ts +51 -0
- package/is-same-array-like/docs/types/test.ts +36 -0
- package/is-same-array-like/lib/index.js +52 -0
- package/is-same-array-like/lib/main.js +57 -0
- package/is-same-array-like/package.json +77 -0
- package/is-same-array-like-object/README.md +112 -0
- package/is-same-array-like-object/docs/repl.txt +35 -0
- package/is-same-array-like-object/docs/types/index.d.ts +51 -0
- package/is-same-array-like-object/docs/types/test.ts +36 -0
- package/is-same-array-like-object/lib/index.js +52 -0
- package/is-same-array-like-object/lib/main.js +57 -0
- package/is-same-array-like-object/package.json +77 -0
- package/is-same-complex128/README.md +124 -0
- package/is-same-complex128/docs/repl.txt +36 -0
- package/is-same-complex128/docs/types/index.d.ts +55 -0
- package/is-same-complex128/docs/types/test.ts +36 -0
- package/is-same-complex128/lib/index.js +54 -0
- package/is-same-complex128/lib/main.js +61 -0
- package/is-same-complex128/package.json +78 -0
- package/is-same-complex128array/README.md +130 -0
- package/is-same-complex128array/docs/repl.txt +35 -0
- package/is-same-complex128array/docs/types/index.d.ts +55 -0
- package/is-same-complex128array/docs/types/test.ts +36 -0
- package/is-same-complex128array/lib/index.js +54 -0
- package/is-same-complex128array/lib/main.js +61 -0
- package/is-same-complex128array/package.json +77 -0
- package/is-same-complex64/README.md +124 -0
- package/is-same-complex64/docs/repl.txt +36 -0
- package/is-same-complex64/docs/types/index.d.ts +55 -0
- package/is-same-complex64/docs/types/test.ts +36 -0
- package/is-same-complex64/lib/index.js +54 -0
- package/is-same-complex64/lib/main.js +61 -0
- package/is-same-complex64/package.json +78 -0
- package/is-same-complex64array/README.md +130 -0
- package/is-same-complex64array/docs/repl.txt +35 -0
- package/is-same-complex64array/docs/types/index.d.ts +55 -0
- package/is-same-complex64array/docs/types/test.ts +36 -0
- package/is-same-complex64array/lib/index.js +54 -0
- package/is-same-complex64array/lib/main.js +61 -0
- package/is-same-complex64array/package.json +77 -0
- package/is-same-float32array/README.md +124 -0
- package/is-same-float32array/docs/repl.txt +35 -0
- package/is-same-float32array/docs/types/index.d.ts +55 -0
- package/is-same-float32array/docs/types/test.ts +36 -0
- package/is-same-float32array/lib/index.js +54 -0
- package/is-same-float32array/lib/main.js +61 -0
- package/is-same-float32array/package.json +77 -0
- package/is-same-float64array/README.md +124 -0
- package/is-same-float64array/docs/repl.txt +35 -0
- package/is-same-float64array/docs/types/index.d.ts +55 -0
- package/is-same-float64array/docs/types/test.ts +36 -0
- package/is-same-float64array/lib/index.js +54 -0
- package/is-same-float64array/lib/main.js +61 -0
- package/is-same-float64array/package.json +77 -0
- package/is-same-native-class/README.md +121 -0
- package/is-same-native-class/docs/repl.txt +29 -0
- package/is-same-native-class/docs/types/index.d.ts +45 -0
- package/is-same-native-class/docs/types/test.ts +36 -0
- package/is-same-native-class/lib/index.js +43 -0
- package/is-same-native-class/lib/main.js +54 -0
- package/is-same-native-class/package.json +83 -0
- package/is-same-type/README.md +130 -0
- package/is-same-type/docs/repl.txt +33 -0
- package/is-same-type/docs/types/index.d.ts +57 -0
- package/is-same-type/docs/types/test.ts +36 -0
- package/is-same-type/lib/index.js +52 -0
- package/is-same-type/lib/main.js +61 -0
- package/is-same-type/package.json +72 -0
- package/is-same-typed-array-like/README.md +100 -0
- package/is-same-typed-array-like/docs/repl.txt +36 -0
- package/is-same-typed-array-like/docs/types/index.d.ts +56 -0
- package/is-same-typed-array-like/docs/types/test.ts +40 -0
- package/is-same-typed-array-like/lib/index.js +56 -0
- package/is-same-typed-array-like/lib/main.js +63 -0
- package/is-same-typed-array-like/package.json +77 -0
- package/is-same-value/README.md +163 -0
- package/is-same-value/docs/repl.txt +36 -0
- package/is-same-value/docs/types/index.d.ts +65 -0
- package/is-same-value/docs/types/test.ts +36 -0
- package/is-same-value/lib/index.js +58 -0
- package/is-same-value/lib/main.js +90 -0
- package/is-same-value/package.json +74 -0
- package/is-same-value-zero/README.md +161 -0
- package/is-same-value-zero/docs/repl.txt +36 -0
- package/is-same-value-zero/docs/types/index.d.ts +65 -0
- package/is-same-value-zero/docs/types/test.ts +36 -0
- package/is-same-value-zero/lib/index.js +58 -0
- package/is-same-value-zero/lib/main.js +82 -0
- package/is-same-value-zero/package.json +76 -0
- package/is-semver/README.md +179 -0
- package/is-semver/bin/cli +108 -0
- package/is-semver/docs/repl.txt +28 -0
- package/is-semver/docs/types/index.d.ts +48 -0
- package/is-semver/docs/types/test.ts +36 -0
- package/is-semver/docs/usage.txt +8 -0
- package/is-semver/etc/cli_opts.json +17 -0
- package/is-semver/lib/index.js +43 -0
- package/is-semver/lib/main.js +58 -0
- package/is-semver/package.json +70 -0
- package/is-sharedarraybuffer/README.md +162 -0
- package/is-sharedarraybuffer/docs/repl.txt +25 -0
- package/is-sharedarraybuffer/docs/types/index.d.ts +46 -0
- package/is-sharedarraybuffer/docs/types/test.ts +34 -0
- package/is-sharedarraybuffer/lib/index.js +48 -0
- package/is-sharedarraybuffer/lib/main.js +63 -0
- package/is-sharedarraybuffer/package.json +78 -0
- package/is-skew-centrosymmetric-matrix/README.md +125 -0
- package/is-skew-centrosymmetric-matrix/docs/repl.txt +32 -0
- package/is-skew-centrosymmetric-matrix/docs/types/index.d.ts +47 -0
- package/is-skew-centrosymmetric-matrix/docs/types/test.ts +56 -0
- package/is-skew-centrosymmetric-matrix/lib/index.js +45 -0
- package/is-skew-centrosymmetric-matrix/lib/main.js +86 -0
- package/is-skew-centrosymmetric-matrix/package.json +80 -0
- package/is-skew-persymmetric-matrix/README.md +111 -0
- package/is-skew-persymmetric-matrix/docs/repl.txt +32 -0
- package/is-skew-persymmetric-matrix/docs/types/index.d.ts +47 -0
- package/is-skew-persymmetric-matrix/docs/types/test.ts +56 -0
- package/is-skew-persymmetric-matrix/lib/index.js +45 -0
- package/is-skew-persymmetric-matrix/lib/main.js +72 -0
- package/is-skew-persymmetric-matrix/package.json +80 -0
- package/is-skew-symmetric-matrix/README.md +108 -0
- package/is-skew-symmetric-matrix/docs/repl.txt +32 -0
- package/is-skew-symmetric-matrix/docs/types/index.d.ts +47 -0
- package/is-skew-symmetric-matrix/docs/types/test.ts +56 -0
- package/is-skew-symmetric-matrix/lib/index.js +45 -0
- package/is-skew-symmetric-matrix/lib/main.js +70 -0
- package/is-skew-symmetric-matrix/package.json +80 -0
- package/is-slice/README.md +103 -0
- package/is-slice/docs/repl.txt +26 -0
- package/is-slice/docs/types/index.d.ts +44 -0
- package/is-slice/docs/types/test.ts +36 -0
- package/is-slice/lib/index.js +43 -0
- package/is-slice/lib/main.js +53 -0
- package/is-slice/package.json +70 -0
- package/is-snakecase/README.md +195 -0
- package/is-snakecase/bin/cli +108 -0
- package/is-snakecase/docs/repl.txt +23 -0
- package/is-snakecase/docs/types/index.d.ts +52 -0
- package/is-snakecase/docs/types/test.ts +34 -0
- package/is-snakecase/docs/usage.txt +9 -0
- package/is-snakecase/etc/cli_opts.json +17 -0
- package/is-snakecase/lib/index.js +43 -0
- package/is-snakecase/lib/main.js +62 -0
- package/is-snakecase/package.json +71 -0
- package/is-square-matrix/README.md +108 -0
- package/is-square-matrix/docs/repl.txt +34 -0
- package/is-square-matrix/docs/types/index.d.ts +42 -0
- package/is-square-matrix/docs/types/test.ts +56 -0
- package/is-square-matrix/lib/index.js +45 -0
- package/is-square-matrix/lib/main.js +54 -0
- package/is-square-matrix/package.json +74 -0
- package/is-square-number/README.md +184 -0
- package/is-square-number/docs/repl.txt +75 -0
- package/is-square-number/docs/types/index.d.ts +125 -0
- package/is-square-number/docs/types/test.ts +60 -0
- package/is-square-number/lib/index.js +79 -0
- package/is-square-number/lib/main.js +62 -0
- package/is-square-number/lib/object.js +58 -0
- package/is-square-number/lib/primitive.js +56 -0
- package/is-square-number/package.json +73 -0
- package/is-square-triangular-number/README.md +222 -0
- package/is-square-triangular-number/docs/img/equation_triangular_number.svg +32 -0
- package/is-square-triangular-number/docs/img/equation_triangular_root.svg +36 -0
- package/is-square-triangular-number/docs/repl.txt +78 -0
- package/is-square-triangular-number/docs/types/index.d.ts +129 -0
- package/is-square-triangular-number/docs/types/test.ts +60 -0
- package/is-square-triangular-number/lib/index.js +79 -0
- package/is-square-triangular-number/lib/main.js +66 -0
- package/is-square-triangular-number/lib/object.js +69 -0
- package/is-square-triangular-number/lib/primitive.js +68 -0
- package/is-square-triangular-number/package.json +78 -0
- package/is-startcase/README.md +198 -0
- package/is-startcase/bin/cli +108 -0
- package/is-startcase/docs/repl.txt +23 -0
- package/is-startcase/docs/types/index.d.ts +44 -0
- package/is-startcase/docs/types/test.ts +35 -0
- package/is-startcase/docs/usage.txt +9 -0
- package/is-startcase/etc/cli_opts.json +17 -0
- package/is-startcase/lib/index.js +43 -0
- package/is-startcase/lib/main.js +52 -0
- package/is-startcase/package.json +73 -0
- package/is-strict-equal/README.md +143 -0
- package/is-strict-equal/docs/repl.txt +36 -0
- package/is-strict-equal/docs/types/index.d.ts +65 -0
- package/is-strict-equal/docs/types/test.ts +36 -0
- package/is-strict-equal/lib/index.js +58 -0
- package/is-strict-equal/lib/main.js +75 -0
- package/is-strict-equal/package.json +72 -0
- package/is-string/README.md +133 -0
- package/is-string/docs/repl.txt +68 -0
- package/is-string/docs/types/index.d.ts +101 -0
- package/is-string/docs/types/test.ts +60 -0
- package/is-string/lib/index.js +73 -0
- package/is-string/lib/main.js +50 -0
- package/is-string/lib/object.js +65 -0
- package/is-string/lib/primitive.js +42 -0
- package/is-string/lib/try2valueof.js +47 -0
- package/is-string/lib/valueof.js +27 -0
- package/is-string/package.json +73 -0
- package/is-string-array/README.md +142 -0
- package/is-string-array/docs/repl.txt +72 -0
- package/is-string-array/docs/types/index.d.ts +101 -0
- package/is-string-array/docs/types/test.ts +60 -0
- package/is-string-array/lib/index.js +76 -0
- package/is-string-array/package.json +71 -0
- package/is-struct/README.md +120 -0
- package/is-struct/docs/repl.txt +30 -0
- package/is-struct/docs/types/index.d.ts +49 -0
- package/is-struct/docs/types/test.ts +34 -0
- package/is-struct/lib/index.js +52 -0
- package/is-struct/lib/main.js +69 -0
- package/is-struct/package.json +69 -0
- package/is-struct-constructor-like/README.md +119 -0
- package/is-struct-constructor-like/docs/repl.txt +30 -0
- package/is-struct-constructor-like/docs/types/index.d.ts +49 -0
- package/is-struct-constructor-like/docs/types/test.ts +34 -0
- package/is-struct-constructor-like/lib/index.js +52 -0
- package/is-struct-constructor-like/lib/main.js +71 -0
- package/is-struct-constructor-like/package.json +69 -0
- package/is-symbol/README.md +144 -0
- package/is-symbol/docs/repl.txt +30 -0
- package/is-symbol/docs/types/index.d.ts +127 -0
- package/is-symbol/docs/types/test.ts +58 -0
- package/is-symbol/lib/generic.js +42 -0
- package/is-symbol/lib/index.js +87 -0
- package/is-symbol/lib/main.js +37 -0
- package/is-symbol/lib/object.js +46 -0
- package/is-symbol/lib/polyfill.js +39 -0
- package/is-symbol/lib/primitive.js +34 -0
- package/is-symbol/lib/tostring.js +42 -0
- package/is-symbol/lib/try2tostring.js +57 -0
- package/is-symbol/package.json +75 -0
- package/is-symbol-array/README.md +155 -0
- package/is-symbol-array/docs/repl.txt +101 -0
- package/is-symbol-array/docs/types/index.d.ts +118 -0
- package/is-symbol-array/docs/types/test.ts +60 -0
- package/is-symbol-array/lib/index.js +76 -0
- package/is-symbol-array/package.json +75 -0
- package/is-symmetric-matrix/README.md +111 -0
- package/is-symmetric-matrix/docs/repl.txt +32 -0
- package/is-symmetric-matrix/docs/types/index.d.ts +47 -0
- package/is-symmetric-matrix/docs/types/test.ts +56 -0
- package/is-symmetric-matrix/lib/index.js +45 -0
- package/is-symmetric-matrix/lib/main.js +70 -0
- package/is-symmetric-matrix/package.json +76 -0
- package/is-syntax-error/README.md +149 -0
- package/is-syntax-error/docs/repl.txt +30 -0
- package/is-syntax-error/docs/types/index.d.ts +44 -0
- package/is-syntax-error/docs/types/test.ts +34 -0
- package/is-syntax-error/lib/index.js +43 -0
- package/is-syntax-error/lib/main.js +68 -0
- package/is-syntax-error/package.json +75 -0
- package/is-touch-device/README.md +83 -0
- package/is-touch-device/docs/repl.txt +12 -0
- package/is-touch-device/docs/types/index.d.ts +33 -0
- package/is-touch-device/docs/types/test.ts +28 -0
- package/is-touch-device/lib/browser.js +64 -0
- package/is-touch-device/lib/index.js +45 -0
- package/is-touch-device/lib/main.js +33 -0
- package/is-touch-device/package.json +68 -0
- package/is-triangular-number/README.md +220 -0
- package/is-triangular-number/docs/img/equation_triangular_number.svg +32 -0
- package/is-triangular-number/docs/img/equation_triangular_root.svg +36 -0
- package/is-triangular-number/docs/repl.txt +78 -0
- package/is-triangular-number/docs/types/index.d.ts +129 -0
- package/is-triangular-number/docs/types/test.ts +60 -0
- package/is-triangular-number/lib/index.js +79 -0
- package/is-triangular-number/lib/main.js +66 -0
- package/is-triangular-number/lib/object.js +62 -0
- package/is-triangular-number/lib/primitive.js +62 -0
- package/is-triangular-number/package.json +76 -0
- package/is-truthy/README.md +145 -0
- package/is-truthy/docs/repl.txt +39 -0
- package/is-truthy/docs/types/index.d.ts +64 -0
- package/is-truthy/docs/types/test.ts +34 -0
- package/is-truthy/lib/index.js +61 -0
- package/is-truthy/lib/main.js +68 -0
- package/is-truthy/package.json +71 -0
- package/is-truthy-array/README.md +107 -0
- package/is-truthy-array/docs/repl.txt +27 -0
- package/is-truthy-array/docs/types/index.d.ts +42 -0
- package/is-truthy-array/docs/types/test.ts +34 -0
- package/is-truthy-array/lib/index.js +46 -0
- package/is-truthy-array/lib/main.js +52 -0
- package/is-truthy-array/package.json +77 -0
- package/is-type-error/README.md +149 -0
- package/is-type-error/docs/repl.txt +30 -0
- package/is-type-error/docs/types/index.d.ts +44 -0
- package/is-type-error/docs/types/test.ts +34 -0
- package/is-type-error/lib/index.js +43 -0
- package/is-type-error/lib/main.js +68 -0
- package/is-type-error/package.json +75 -0
- package/is-typed-array/README.md +155 -0
- package/is-typed-array/docs/repl.txt +22 -0
- package/is-typed-array/docs/types/index.d.ts +42 -0
- package/is-typed-array/docs/types/test.ts +34 -0
- package/is-typed-array/lib/ctors.js +53 -0
- package/is-typed-array/lib/index.js +41 -0
- package/is-typed-array/lib/main.js +99 -0
- package/is-typed-array/lib/names.json +12 -0
- package/is-typed-array/package.json +73 -0
- package/is-typed-array-length/README.md +140 -0
- package/is-typed-array-length/docs/repl.txt +31 -0
- package/is-typed-array-length/docs/types/index.d.ts +44 -0
- package/is-typed-array-length/docs/types/test.ts +34 -0
- package/is-typed-array-length/lib/index.js +49 -0
- package/is-typed-array-length/lib/main.js +54 -0
- package/is-typed-array-length/package.json +75 -0
- package/is-typed-array-like/README.md +131 -0
- package/is-typed-array-like/docs/repl.txt +29 -0
- package/is-typed-array-like/docs/types/index.d.ts +64 -0
- package/is-typed-array-like/docs/types/test.ts +34 -0
- package/is-typed-array-like/lib/index.js +49 -0
- package/is-typed-array-like/lib/main.js +82 -0
- package/is-typed-array-like/package.json +76 -0
- package/is-uint16array/README.md +144 -0
- package/is-uint16array/docs/repl.txt +24 -0
- package/is-uint16array/docs/types/index.d.ts +42 -0
- package/is-uint16array/docs/types/test.ts +34 -0
- package/is-uint16array/lib/index.js +44 -0
- package/is-uint16array/lib/main.js +59 -0
- package/is-uint16array/package.json +83 -0
- package/is-uint32array/README.md +144 -0
- package/is-uint32array/docs/repl.txt +24 -0
- package/is-uint32array/docs/types/index.d.ts +42 -0
- package/is-uint32array/docs/types/test.ts +34 -0
- package/is-uint32array/lib/index.js +44 -0
- package/is-uint32array/lib/main.js +59 -0
- package/is-uint32array/package.json +84 -0
- package/is-uint64/README.md +98 -0
- package/is-uint64/docs/repl.txt +28 -0
- package/is-uint64/docs/types/index.d.ts +44 -0
- package/is-uint64/docs/types/test.ts +38 -0
- package/is-uint64/lib/index.js +43 -0
- package/is-uint64/lib/main.js +53 -0
- package/is-uint64/package.json +73 -0
- package/is-uint8array/README.md +144 -0
- package/is-uint8array/docs/repl.txt +24 -0
- package/is-uint8array/docs/types/index.d.ts +42 -0
- package/is-uint8array/docs/types/test.ts +34 -0
- package/is-uint8array/lib/index.js +44 -0
- package/is-uint8array/lib/main.js +59 -0
- package/is-uint8array/package.json +83 -0
- package/is-uint8clampedarray/README.md +141 -0
- package/is-uint8clampedarray/docs/repl.txt +24 -0
- package/is-uint8clampedarray/docs/types/index.d.ts +42 -0
- package/is-uint8clampedarray/docs/types/test.ts +34 -0
- package/is-uint8clampedarray/lib/index.js +44 -0
- package/is-uint8clampedarray/lib/main.js +59 -0
- package/is-uint8clampedarray/package.json +84 -0
- package/is-unc-path/README.md +262 -0
- package/is-unc-path/bin/cli +109 -0
- package/is-unc-path/docs/repl.txt +24 -0
- package/is-unc-path/docs/types/index.d.ts +40 -0
- package/is-unc-path/docs/types/test.ts +34 -0
- package/is-unc-path/docs/usage.txt +8 -0
- package/is-unc-path/etc/cli_opts.json +17 -0
- package/is-unc-path/lib/index.js +43 -0
- package/is-unc-path/lib/main.js +53 -0
- package/is-unc-path/package.json +89 -0
- package/is-undefined/README.md +126 -0
- package/is-undefined/docs/repl.txt +24 -0
- package/is-undefined/docs/types/index.d.ts +39 -0
- package/is-undefined/docs/types/test.ts +34 -0
- package/is-undefined/lib/index.js +43 -0
- package/is-undefined/lib/main.js +47 -0
- package/is-undefined/package.json +71 -0
- package/is-undefined-or-null/README.md +129 -0
- package/is-undefined-or-null/docs/repl.txt +26 -0
- package/is-undefined-or-null/docs/types/index.d.ts +42 -0
- package/is-undefined-or-null/docs/types/test.ts +34 -0
- package/is-undefined-or-null/lib/index.js +46 -0
- package/is-undefined-or-null/lib/main.js +50 -0
- package/is-undefined-or-null/package.json +73 -0
- package/is-unity-probability-array/README.md +155 -0
- package/is-unity-probability-array/docs/repl.txt +29 -0
- package/is-unity-probability-array/docs/types/index.d.ts +48 -0
- package/is-unity-probability-array/docs/types/test.ts +34 -0
- package/is-unity-probability-array/lib/index.js +49 -0
- package/is-unity-probability-array/lib/main.js +90 -0
- package/is-unity-probability-array/package.json +75 -0
- package/is-uppercase/README.md +195 -0
- package/is-uppercase/bin/cli +108 -0
- package/is-uppercase/docs/repl.txt +24 -0
- package/is-uppercase/docs/types/index.d.ts +48 -0
- package/is-uppercase/docs/types/test.ts +34 -0
- package/is-uppercase/docs/usage.txt +8 -0
- package/is-uppercase/etc/cli_opts.json +17 -0
- package/is-uppercase/lib/index.js +43 -0
- package/is-uppercase/lib/main.js +63 -0
- package/is-uppercase/package.json +71 -0
- package/is-uri/README.md +267 -0
- package/is-uri/bin/cli +108 -0
- package/is-uri/docs/repl.txt +48 -0
- package/is-uri/docs/types/index.d.ts +127 -0
- package/is-uri/docs/types/test.ts +33 -0
- package/is-uri/docs/usage.txt +8 -0
- package/is-uri/etc/cli_opts.json +17 -0
- package/is-uri/lib/index.js +110 -0
- package/is-uri/lib/main.js +244 -0
- package/is-uri/package.json +73 -0
- package/is-uri-error/README.md +149 -0
- package/is-uri-error/docs/repl.txt +30 -0
- package/is-uri-error/docs/types/index.d.ts +44 -0
- package/is-uri-error/docs/types/test.ts +34 -0
- package/is-uri-error/lib/index.js +43 -0
- package/is-uri-error/lib/main.js +68 -0
- package/is-uri-error/package.json +75 -0
- package/is-vector-like/README.md +117 -0
- package/is-vector-like/docs/repl.txt +41 -0
- package/is-vector-like/docs/types/index.d.ts +42 -0
- package/is-vector-like/docs/types/test.ts +33 -0
- package/is-vector-like/lib/index.js +45 -0
- package/is-vector-like/lib/main.js +56 -0
- package/is-vector-like/package.json +74 -0
- package/is-wasm-memory/README.md +108 -0
- package/is-wasm-memory/docs/repl.txt +22 -0
- package/is-wasm-memory/docs/types/index.d.ts +45 -0
- package/is-wasm-memory/docs/types/test.ts +33 -0
- package/is-wasm-memory/lib/index.js +47 -0
- package/is-wasm-memory/lib/main.js +67 -0
- package/is-wasm-memory/package.json +74 -0
- package/is-web-worker/README.md +91 -0
- package/is-web-worker/docs/repl.txt +12 -0
- package/is-web-worker/docs/types/index.d.ts +33 -0
- package/is-web-worker/docs/types/test.ts +28 -0
- package/is-web-worker/lib/global_scope.js +52 -0
- package/is-web-worker/lib/index.js +45 -0
- package/is-web-worker/lib/main.js +84 -0
- package/is-web-worker/package.json +66 -0
- package/is-well-formed-string/README.md +149 -0
- package/is-well-formed-string/docs/repl.txt +82 -0
- package/is-well-formed-string/docs/types/index.d.ts +133 -0
- package/is-well-formed-string/docs/types/test.ts +60 -0
- package/is-well-formed-string/lib/index.js +87 -0
- package/is-well-formed-string/lib/iswellformed.js +79 -0
- package/is-well-formed-string/lib/main.js +70 -0
- package/is-well-formed-string/lib/object.js +53 -0
- package/is-well-formed-string/lib/primitive.js +51 -0
- package/is-well-formed-string/package.json +71 -0
- package/is-whitespace/README.md +193 -0
- package/is-whitespace/bin/cli +108 -0
- package/is-whitespace/docs/repl.txt +33 -0
- package/is-whitespace/docs/types/index.d.ts +48 -0
- package/is-whitespace/docs/types/test.ts +34 -0
- package/is-whitespace/docs/usage.txt +8 -0
- package/is-whitespace/etc/cli_opts.json +17 -0
- package/is-whitespace/lib/index.js +46 -0
- package/is-whitespace/lib/main.js +66 -0
- package/is-whitespace/package.json +77 -0
- package/is-windows/README.md +81 -0
- package/is-windows/docs/repl.txt +12 -0
- package/is-windows/docs/types/index.d.ts +38 -0
- package/is-windows/docs/types/test.ts +28 -0
- package/is-windows/lib/index.js +56 -0
- package/is-windows/package.json +71 -0
- package/is-writable-property/README.md +179 -0
- package/is-writable-property/docs/repl.txt +34 -0
- package/is-writable-property/docs/types/index.d.ts +53 -0
- package/is-writable-property/docs/types/test.ts +44 -0
- package/is-writable-property/lib/index.js +55 -0
- package/is-writable-property/lib/main.js +69 -0
- package/is-writable-property/package.json +72 -0
- package/is-writable-property-in/README.md +179 -0
- package/is-writable-property-in/docs/repl.txt +34 -0
- package/is-writable-property-in/docs/types/index.d.ts +53 -0
- package/is-writable-property-in/docs/types/test.ts +44 -0
- package/is-writable-property-in/lib/index.js +55 -0
- package/is-writable-property-in/lib/main.js +69 -0
- package/is-writable-property-in/package.json +76 -0
- package/is-write-only-property/README.md +191 -0
- package/is-write-only-property/docs/repl.txt +33 -0
- package/is-write-only-property/docs/types/index.d.ts +56 -0
- package/is-write-only-property/docs/types/test.ts +48 -0
- package/is-write-only-property/lib/index.js +58 -0
- package/is-write-only-property/lib/main.js +73 -0
- package/is-write-only-property/package.json +74 -0
- package/is-write-only-property-in/README.md +197 -0
- package/is-write-only-property-in/docs/repl.txt +34 -0
- package/is-write-only-property-in/docs/types/index.d.ts +56 -0
- package/is-write-only-property-in/docs/types/test.ts +48 -0
- package/is-write-only-property-in/lib/index.js +58 -0
- package/is-write-only-property-in/lib/main.js +73 -0
- package/is-write-only-property-in/package.json +78 -0
- package/lib/index.js +3117 -0
- package/napi/README.md +167 -0
- package/napi/docs/types/index.d.ts +33 -0
- package/napi/docs/types/test.ts +28 -0
- package/napi/equal-typedarray-types/README.md +196 -0
- package/napi/equal-typedarray-types/docs/types/index.d.ts +33 -0
- package/napi/equal-typedarray-types/docs/types/test.ts +28 -0
- package/napi/equal-typedarray-types/include/stdlib/assert/napi/equal_typedarray_types.h +40 -0
- package/napi/equal-typedarray-types/lib/browser.js +28 -0
- package/napi/equal-typedarray-types/lib/index.js +39 -0
- package/napi/equal-typedarray-types/lib/main.js +33 -0
- package/napi/equal-typedarray-types/lib/native.js +50 -0
- package/napi/equal-typedarray-types/manifest.json +40 -0
- package/napi/equal-typedarray-types/package.json +69 -0
- package/napi/equal-typedarray-types/src/addon.c +83 -0
- package/napi/equal-typedarray-types/src/main.c +67 -0
- package/napi/equal-types/README.md +196 -0
- package/napi/equal-types/docs/types/index.d.ts +33 -0
- package/napi/equal-types/docs/types/test.ts +28 -0
- package/napi/equal-types/include/stdlib/assert/napi/equal_types.h +40 -0
- package/napi/equal-types/lib/browser.js +28 -0
- package/napi/equal-types/lib/index.js +39 -0
- package/napi/equal-types/lib/main.js +33 -0
- package/napi/equal-types/lib/native.js +45 -0
- package/napi/equal-types/manifest.json +40 -0
- package/napi/equal-types/package.json +69 -0
- package/napi/equal-types/src/addon.c +79 -0
- package/napi/equal-types/src/main.c +67 -0
- package/napi/has-property/README.md +196 -0
- package/napi/has-property/docs/types/index.d.ts +33 -0
- package/napi/has-property/docs/types/test.ts +28 -0
- package/napi/has-property/include/stdlib/assert/napi/has_property.h +40 -0
- package/napi/has-property/lib/browser.js +28 -0
- package/napi/has-property/lib/index.js +39 -0
- package/napi/has-property/lib/main.js +33 -0
- package/napi/has-property/lib/native.js +48 -0
- package/napi/has-property/manifest.json +40 -0
- package/napi/has-property/package.json +69 -0
- package/napi/has-property/src/addon.c +71 -0
- package/napi/has-property/src/main.c +67 -0
- package/napi/include/stdlib/assert/napi.h +31 -0
- package/napi/is-dataview/README.md +195 -0
- package/napi/is-dataview/docs/types/index.d.ts +33 -0
- package/napi/is-dataview/docs/types/test.ts +28 -0
- package/napi/is-dataview/include/stdlib/assert/napi/is_dataview.h +40 -0
- package/napi/is-dataview/lib/browser.js +28 -0
- package/napi/is-dataview/lib/index.js +39 -0
- package/napi/is-dataview/lib/main.js +33 -0
- package/napi/is-dataview/lib/native.js +47 -0
- package/napi/is-dataview/manifest.json +40 -0
- package/napi/is-dataview/package.json +70 -0
- package/napi/is-dataview/src/addon.c +71 -0
- package/napi/is-dataview/src/main.c +67 -0
- package/napi/is-type/README.md +196 -0
- package/napi/is-type/docs/types/index.d.ts +33 -0
- package/napi/is-type/docs/types/test.ts +28 -0
- package/napi/is-type/include/stdlib/assert/napi/is_type.h +40 -0
- package/napi/is-type/lib/browser.js +28 -0
- package/napi/is-type/lib/index.js +39 -0
- package/napi/is-type/lib/main.js +33 -0
- package/napi/is-type/lib/native.js +44 -0
- package/napi/is-type/manifest.json +41 -0
- package/napi/is-type/package.json +69 -0
- package/napi/is-type/src/addon.c +71 -0
- package/napi/is-type/src/main.c +59 -0
- package/napi/is-typedarray/README.md +195 -0
- package/napi/is-typedarray/docs/types/index.d.ts +33 -0
- package/napi/is-typedarray/docs/types/test.ts +28 -0
- package/napi/is-typedarray/include/stdlib/assert/napi/is_typedarray.h +40 -0
- package/napi/is-typedarray/lib/browser.js +28 -0
- package/napi/is-typedarray/lib/index.js +39 -0
- package/napi/is-typedarray/lib/main.js +33 -0
- package/napi/is-typedarray/lib/native.js +46 -0
- package/napi/is-typedarray/manifest.json +40 -0
- package/napi/is-typedarray/package.json +69 -0
- package/napi/is-typedarray/src/addon.c +71 -0
- package/napi/is-typedarray/src/main.c +67 -0
- package/napi/lib/browser.js +28 -0
- package/napi/lib/index.js +39 -0
- package/napi/lib/main.js +40 -0
- package/napi/manifest.json +44 -0
- package/napi/package.json +70 -0
- package/napi/status-ok/README.md +233 -0
- package/napi/status-ok/docs/types/index.d.ts +33 -0
- package/napi/status-ok/docs/types/test.ts +28 -0
- package/napi/status-ok/include/stdlib/assert/napi/status_ok.h +117 -0
- package/napi/status-ok/lib/browser.js +28 -0
- package/napi/status-ok/lib/index.js +39 -0
- package/napi/status-ok/lib/main.js +33 -0
- package/napi/status-ok/manifest.json +36 -0
- package/napi/status-ok/package.json +68 -0
- package/package.json +136 -4
- package/tools/README.md +103 -0
- package/tools/array-function/README.md +125 -0
- package/tools/array-function/docs/repl.txt +40 -0
- package/tools/array-function/docs/types/index.d.ts +61 -0
- package/tools/array-function/docs/types/test.ts +44 -0
- package/tools/array-function/lib/index.js +49 -0
- package/tools/array-function/lib/main.js +85 -0
- package/tools/array-function/package.json +66 -0
- package/tools/array-like-function/README.md +125 -0
- package/tools/array-like-function/docs/repl.txt +41 -0
- package/tools/array-like-function/docs/types/index.d.ts +61 -0
- package/tools/array-like-function/docs/types/test.ts +44 -0
- package/tools/array-like-function/lib/index.js +49 -0
- package/tools/array-like-function/lib/main.js +85 -0
- package/tools/array-like-function/package.json +69 -0
- package/tools/docs/types/index.d.ts +127 -0
- package/tools/docs/types/test.ts +29 -0
- package/tools/lib/index.js +69 -0
- package/tools/package.json +71 -0
- package/tools/typed-array-function/README.md +127 -0
- package/tools/typed-array-function/docs/repl.txt +40 -0
- package/tools/typed-array-function/docs/types/index.d.ts +61 -0
- package/tools/typed-array-function/docs/types/test.ts +44 -0
- package/tools/typed-array-function/lib/index.js +49 -0
- package/tools/typed-array-function/lib/main.js +85 -0
- package/tools/typed-array-function/package.json +66 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @license Apache-2.0
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2019 The Stdlib Authors.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
// TypeScript Version: 4.1
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Interface defining `isSymbolArray` with methods for testing for primitive and object arrays, respectively.
|
|
23
|
+
*/
|
|
24
|
+
interface IsSymbolArray {
|
|
25
|
+
/**
|
|
26
|
+
* Tests if a value is an array-like object containing only symbols.
|
|
27
|
+
*
|
|
28
|
+
* ## Notes
|
|
29
|
+
*
|
|
30
|
+
* - In pre-ES2015 environments, the function always returns `false`.
|
|
31
|
+
*
|
|
32
|
+
* @param value - value to test
|
|
33
|
+
* @returns boolean indicating whether value is an array-like object containing only symbols
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* var bool = isSymbolArray( [ Symbol( 'abc' ), Symbol( 'def' ) ] );
|
|
37
|
+
* // returns true
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* var bool = isSymbolArray( [ Symbol( 'abc' ), 'def' ] );
|
|
41
|
+
* // returns false
|
|
42
|
+
*/
|
|
43
|
+
( value: any ): value is ArrayLike<symbol | Symbol>;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Tests if a value is an array-like object containing only `symbol` primitives.
|
|
47
|
+
*
|
|
48
|
+
* ## Notes
|
|
49
|
+
*
|
|
50
|
+
* - In pre-ES2015 environments, the function always returns `false`.
|
|
51
|
+
*
|
|
52
|
+
* @param value - value to test
|
|
53
|
+
* @returns boolean indicating whether value is an array-like object containing only symbol primitives
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* var bool = isSymbolArray.primitives( [ Symbol( 'abc' ), Symbol( 'def' ) ] );
|
|
57
|
+
* // returns true
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* var bool = isSymbolArray.primitives( [ Symbol( 'abc' ), Object( Symbol( 'def' ) ) ] );
|
|
61
|
+
* // returns false
|
|
62
|
+
*/
|
|
63
|
+
primitives( value: any ): value is ArrayLike<symbol>;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Tests if a value is an array-like object containing only `Symbol` objects.
|
|
67
|
+
*
|
|
68
|
+
*
|
|
69
|
+
* ## Notes
|
|
70
|
+
*
|
|
71
|
+
* - In pre-ES2015 environments, the function always returns `false`.
|
|
72
|
+
*
|
|
73
|
+
* @param value - value to test
|
|
74
|
+
* @returns boolean indicating whether a value is an array-like object containing only `Symbol` objects
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* var bool = isSymbolArray.objects( [ Object( Symbol( 'abc' ) ), Object( Symbol( 'def' ) ) ] );
|
|
78
|
+
* // returns true
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* var bool = isSymbolArray.objects( [ Symbol( 'abc' ), Symbol( 'def' ) ] );
|
|
82
|
+
* // returns false
|
|
83
|
+
*/
|
|
84
|
+
objects( value: any ): value is ArrayLike<Symbol>;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Tests if a value is an array-like object containing only symbols.
|
|
89
|
+
*
|
|
90
|
+
* ## Notes
|
|
91
|
+
*
|
|
92
|
+
* - In pre-ES2015 environments, the function always returns `false`.
|
|
93
|
+
*
|
|
94
|
+
* @param value - value to test
|
|
95
|
+
* @returns boolean indicating whether value is an array-like object containing only symbols
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* var bool = isSymbolArray( [ Symbol( 'abc' ), Symbol( 'def' ) ] );
|
|
99
|
+
* // returns true
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* var bool = isSymbolArray( [ Symbol( 'abc' ), 'def' ] );
|
|
103
|
+
* // returns false
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* var bool = isSymbolArray.primitives( [ Symbol( 'abc' ), Symbol( 'def' ) ] );
|
|
107
|
+
* // returns true
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* var bool = isSymbolArray.objects( [ Object( Symbol( 'abc' ) ), Object( Symbol( 'def' ) ) ] );
|
|
111
|
+
* // returns true
|
|
112
|
+
*/
|
|
113
|
+
declare var isSymbolArray: IsSymbolArray;
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
// EXPORTS //
|
|
117
|
+
|
|
118
|
+
export = isSymbolArray;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @license Apache-2.0
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2019 The Stdlib Authors.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
import isSymbolArray = require( './index' );
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
// TESTS //
|
|
23
|
+
|
|
24
|
+
// The function returns a boolean...
|
|
25
|
+
{
|
|
26
|
+
isSymbolArray( [ Symbol( 'abc' ) ] ); // $ExpectType boolean
|
|
27
|
+
isSymbolArray( [ 2 ] ); // $ExpectType boolean
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// The compiler throws an error if the function is provided an unsupported number of arguments...
|
|
31
|
+
{
|
|
32
|
+
isSymbolArray(); // $ExpectError
|
|
33
|
+
isSymbolArray( [ Symbol( 'abc' ) ], 10.23 ); // $ExpectError
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Attached to main export is a `primitives` method which returns a boolean...
|
|
37
|
+
{
|
|
38
|
+
// eslint-disable-next-line no-new-wrappers
|
|
39
|
+
isSymbolArray.primitives( [ Object( Symbol( 'abc' ) ) ] ); // $ExpectType boolean
|
|
40
|
+
isSymbolArray.primitives( [ Symbol( 'abc' ) ] ); // $ExpectType boolean
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// The compiler throws an error if the `primitives` method is provided an unsupported number of arguments...
|
|
44
|
+
{
|
|
45
|
+
isSymbolArray.primitives(); // $ExpectError
|
|
46
|
+
isSymbolArray.primitives( [ Symbol( 'abc' ) ], 123 ); // $ExpectError
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Attached to main export is an `objects` method which returns a boolean...
|
|
50
|
+
{
|
|
51
|
+
// eslint-disable-next-line no-new-wrappers
|
|
52
|
+
isSymbolArray.objects( [ Object( Symbol( 'abc' ) ) ] ); // $ExpectType boolean
|
|
53
|
+
isSymbolArray.objects( [ Symbol( 'abc' ) ] ); // $ExpectType boolean
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// The compiler throws an error if the `objects` method is provided an unsupported number of arguments...
|
|
57
|
+
{
|
|
58
|
+
isSymbolArray.objects(); // $ExpectError
|
|
59
|
+
isSymbolArray.objects( [ Symbol( 'abc' ) ], 123 ); // $ExpectError
|
|
60
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Apache-2.0
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2018 The Stdlib Authors.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
'use strict';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Test if a value is an array-like object containing only symbols.
|
|
23
|
+
*
|
|
24
|
+
* @module @stdlib/assert/is-symbol-array
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* var isSymbolArray = require( '@stdlib/assert/is-symbol-array' );
|
|
28
|
+
*
|
|
29
|
+
* var bool = isSymbolArray( [ Symbol( 'abc' ), Symbol( 'def' ) ] );
|
|
30
|
+
* // returns true
|
|
31
|
+
*
|
|
32
|
+
* bool = isSymbolArray( [ Symbol( 'abc' ), 'def' ] );
|
|
33
|
+
* // returns false
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* var isSymbolArray = require( '@stdlib/assert/is-symbol-array' ).primitives;
|
|
37
|
+
*
|
|
38
|
+
* var bool = isSymbolArray( [ Symbol( 'abc' ), Symbol( 'def' ) ] );
|
|
39
|
+
* // returns true
|
|
40
|
+
*
|
|
41
|
+
* bool = isSymbolArray( [ Symbol( 'abc' ), Object( Symbol( 'def' ) ) ] );
|
|
42
|
+
* // returns false
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* var isSymbolArray = require( '@stdlib/assert/is-symbol-array' ).objects;
|
|
46
|
+
*
|
|
47
|
+
* var bool = isSymbolArray( [ Object( Symbol( 'abc' ) ), Object( Symbol( 'def' ) ) ] );
|
|
48
|
+
* // returns true
|
|
49
|
+
*
|
|
50
|
+
* bool = isSymbolArray( [ Symbol( 'abc' ), Symbol( 'def' ) ] );
|
|
51
|
+
* // returns false
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
// MODULES //
|
|
55
|
+
|
|
56
|
+
var setReadOnly = require( '@ohos-ports/stdlib-utils/define-nonenumerable-read-only-property' );
|
|
57
|
+
var arrayfun = require( './../../tools/array-like-function' );
|
|
58
|
+
var isSymbol = require( './../../is-symbol' );
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
// VARIABLES //
|
|
62
|
+
|
|
63
|
+
var isPrimitiveArray = arrayfun( isSymbol.isPrimitive );
|
|
64
|
+
var isObjectArray = arrayfun( isSymbol.isObject );
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
// MAIN //
|
|
68
|
+
|
|
69
|
+
var isSymbolArray = arrayfun( isSymbol );
|
|
70
|
+
setReadOnly( isSymbolArray, 'primitives', isPrimitiveArray );
|
|
71
|
+
setReadOnly( isSymbolArray, 'objects', isObjectArray );
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
// EXPORTS //
|
|
75
|
+
|
|
76
|
+
module.exports = isSymbolArray;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@stdlib/assert/is-symbol-array",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "Test if a value is an array-like object containing only symbols.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "The Stdlib Authors",
|
|
8
|
+
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
|
|
9
|
+
},
|
|
10
|
+
"contributors": [
|
|
11
|
+
{
|
|
12
|
+
"name": "The Stdlib Authors",
|
|
13
|
+
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"main": "./lib",
|
|
17
|
+
"directories": {
|
|
18
|
+
"benchmark": "./benchmark",
|
|
19
|
+
"doc": "./docs",
|
|
20
|
+
"example": "./examples",
|
|
21
|
+
"lib": "./lib",
|
|
22
|
+
"test": "./test"
|
|
23
|
+
},
|
|
24
|
+
"types": "./docs/types",
|
|
25
|
+
"scripts": {},
|
|
26
|
+
"homepage": "https://github.com/stdlib-js/stdlib",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git://github.com/stdlib-js/stdlib.git"
|
|
30
|
+
},
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {},
|
|
35
|
+
"devDependencies": {},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=0.10.0",
|
|
38
|
+
"npm": ">2.7.0"
|
|
39
|
+
},
|
|
40
|
+
"os": [
|
|
41
|
+
"aix",
|
|
42
|
+
"darwin",
|
|
43
|
+
"freebsd",
|
|
44
|
+
"linux",
|
|
45
|
+
"macos",
|
|
46
|
+
"openbsd",
|
|
47
|
+
"sunos",
|
|
48
|
+
"win32",
|
|
49
|
+
"windows"
|
|
50
|
+
],
|
|
51
|
+
"keywords": [
|
|
52
|
+
"stdlib",
|
|
53
|
+
"stdassert",
|
|
54
|
+
"assertion",
|
|
55
|
+
"assert",
|
|
56
|
+
"utilities",
|
|
57
|
+
"utility",
|
|
58
|
+
"utils",
|
|
59
|
+
"util",
|
|
60
|
+
"function",
|
|
61
|
+
"array",
|
|
62
|
+
"array-like",
|
|
63
|
+
"symbol",
|
|
64
|
+
"sym",
|
|
65
|
+
"is",
|
|
66
|
+
"issymbol",
|
|
67
|
+
"isarray",
|
|
68
|
+
"isarraylike",
|
|
69
|
+
"type",
|
|
70
|
+
"check",
|
|
71
|
+
"valid",
|
|
72
|
+
"validate",
|
|
73
|
+
"test"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
|
|
3
|
+
@license Apache-2.0
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2018 The Stdlib Authors.
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
18
|
+
|
|
19
|
+
-->
|
|
20
|
+
|
|
21
|
+
# isSymmetricMatrix
|
|
22
|
+
|
|
23
|
+
> Test if a value is a [symmetric matrix][symmetric-matrix].
|
|
24
|
+
|
|
25
|
+
<section class="usage">
|
|
26
|
+
|
|
27
|
+
## Usage
|
|
28
|
+
|
|
29
|
+
```javascript
|
|
30
|
+
var isSymmetricMatrix = require( '@stdlib/assert/is-symmetric-matrix' );
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
#### isSymmetricMatrix( value )
|
|
34
|
+
|
|
35
|
+
Tests if a value is a [symmetric matrix][symmetric-matrix].
|
|
36
|
+
|
|
37
|
+
```javascript
|
|
38
|
+
var ndarray = require( '@stdlib/ndarray/ctor' );
|
|
39
|
+
|
|
40
|
+
var arr = ndarray( 'generic', [ 0, 1, 1, 2 ], [ 2, 2 ], [ 2, 1 ], 0, 'row-major' );
|
|
41
|
+
var bool = isSymmetricMatrix( arr );
|
|
42
|
+
// returns true
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
</section>
|
|
46
|
+
|
|
47
|
+
<!-- /.usage -->
|
|
48
|
+
|
|
49
|
+
<section class="examples">
|
|
50
|
+
|
|
51
|
+
## Examples
|
|
52
|
+
|
|
53
|
+
<!-- eslint no-undef: "error" -->
|
|
54
|
+
|
|
55
|
+
```javascript
|
|
56
|
+
var ndarray = require( '@stdlib/ndarray/ctor' );
|
|
57
|
+
var isSymmetricMatrix = require( '@stdlib/assert/is-symmetric-matrix' );
|
|
58
|
+
|
|
59
|
+
var arr = ndarray( 'generic', [ 0, 1, 1, 2 ], [ 2, 2 ], [ 2, 1 ], 0, 'row-major' );
|
|
60
|
+
var out = isSymmetricMatrix( arr );
|
|
61
|
+
// returns true
|
|
62
|
+
|
|
63
|
+
out = isSymmetricMatrix( [ 1, 2, 3, 4 ] );
|
|
64
|
+
// returns false
|
|
65
|
+
|
|
66
|
+
out = isSymmetricMatrix( {} );
|
|
67
|
+
// returns false
|
|
68
|
+
|
|
69
|
+
out = isSymmetricMatrix( null );
|
|
70
|
+
// returns false
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
</section>
|
|
74
|
+
|
|
75
|
+
<!-- /.examples -->
|
|
76
|
+
|
|
77
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
78
|
+
|
|
79
|
+
<section class="related">
|
|
80
|
+
|
|
81
|
+
* * *
|
|
82
|
+
|
|
83
|
+
## See Also
|
|
84
|
+
|
|
85
|
+
- <span class="package-name">[`@stdlib/assert/is-matrix-like`][@stdlib/assert/is-matrix-like]</span><span class="delimiter">: </span><span class="description">test if a value is a 2-dimensional ndarray-like object.</span>
|
|
86
|
+
- <span class="package-name">[`@stdlib/assert/is-nonsymmetric-matrix`][@stdlib/assert/is-nonsymmetric-matrix]</span><span class="delimiter">: </span><span class="description">test if a value is a non-symmetric matrix.</span>
|
|
87
|
+
- <span class="package-name">[`@stdlib/assert/is-square-matrix`][@stdlib/assert/is-square-matrix]</span><span class="delimiter">: </span><span class="description">test if a value is a 2-dimensional ndarray-like object having equal dimensions.</span>
|
|
88
|
+
|
|
89
|
+
</section>
|
|
90
|
+
|
|
91
|
+
<!-- /.related -->
|
|
92
|
+
|
|
93
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
94
|
+
|
|
95
|
+
<section class="links">
|
|
96
|
+
|
|
97
|
+
[symmetric-matrix]: https://en.wikipedia.org/wiki/Symmetric_matrix
|
|
98
|
+
|
|
99
|
+
<!-- <related-links> -->
|
|
100
|
+
|
|
101
|
+
[@stdlib/assert/is-matrix-like]: https://github.com/stdlib-js/assert/tree/main/is-matrix-like
|
|
102
|
+
|
|
103
|
+
[@stdlib/assert/is-nonsymmetric-matrix]: https://github.com/stdlib-js/assert/tree/main/is-nonsymmetric-matrix
|
|
104
|
+
|
|
105
|
+
[@stdlib/assert/is-square-matrix]: https://github.com/stdlib-js/assert/tree/main/is-square-matrix
|
|
106
|
+
|
|
107
|
+
<!-- </related-links> -->
|
|
108
|
+
|
|
109
|
+
</section>
|
|
110
|
+
|
|
111
|
+
<!-- /.links -->
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
{{alias}}( value )
|
|
3
|
+
Tests if a value is a square matrix which equals its transpose.
|
|
4
|
+
|
|
5
|
+
Parameters
|
|
6
|
+
----------
|
|
7
|
+
value: any
|
|
8
|
+
Value to test.
|
|
9
|
+
|
|
10
|
+
Returns
|
|
11
|
+
-------
|
|
12
|
+
bool: boolean
|
|
13
|
+
Boolean indicating whether a value is a symmetric matrix.
|
|
14
|
+
|
|
15
|
+
Examples
|
|
16
|
+
--------
|
|
17
|
+
> var buf = [ 0, 1, 1, 2 ];
|
|
18
|
+
> var sh = [ 2, 2 ];
|
|
19
|
+
> var st = [ 2, 1 ];
|
|
20
|
+
> var M = {{alias:@stdlib/ndarray/ctor}}( 'generic', buf, sh, st, 0, 'row-major' );
|
|
21
|
+
> var bool = {{alias}}( M )
|
|
22
|
+
true
|
|
23
|
+
> bool = {{alias}}( [ 1, 2, 3, 4 ] )
|
|
24
|
+
false
|
|
25
|
+
> bool = {{alias}}( 3.14 )
|
|
26
|
+
false
|
|
27
|
+
> bool = {{alias}}( {} )
|
|
28
|
+
false
|
|
29
|
+
|
|
30
|
+
See Also
|
|
31
|
+
--------
|
|
32
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @license Apache-2.0
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2021 The Stdlib Authors.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
// TypeScript Version: 4.1
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Tests if a value is a symmetric matrix.
|
|
23
|
+
*
|
|
24
|
+
* ## Notes
|
|
25
|
+
*
|
|
26
|
+
* - The implementation must rely on manually checking that \\(M_{ij} = M_{ji}\\), and, while element access is deterministic, no way exists to prevent cache misses outside of reordering the underlying matrix elements, thus incurring a larger performance penalty than just "jumping around" in a single pass.
|
|
27
|
+
* - Worst case scenario: O(N^2).
|
|
28
|
+
*
|
|
29
|
+
* @param v - value to test
|
|
30
|
+
* @returns boolean indicating if a value is a symmetric matrix
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* var ndarray = require( '@stdlib/ndarray/ctor' );
|
|
34
|
+
*
|
|
35
|
+
* var arr = ndarray( 'generic', [ 0, 1, 1, 2 ], [ 2, 2 ], [ 2, 1 ], 0, 'row-major' );
|
|
36
|
+
* var bool = isSymmetricMatrix( arr );
|
|
37
|
+
* // returns true
|
|
38
|
+
*
|
|
39
|
+
* bool = isSymmetricMatrix( [] );
|
|
40
|
+
* // returns false
|
|
41
|
+
*/
|
|
42
|
+
declare function isSymmetricMatrix( v: any ): boolean;
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
// EXPORTS //
|
|
46
|
+
|
|
47
|
+
export = isSymmetricMatrix;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @license Apache-2.0
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2021 The Stdlib Authors.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/* eslint-disable @typescript-eslint/no-invalid-this */
|
|
20
|
+
|
|
21
|
+
import isSymmetricMatrix = require( './index' );
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
// TESTS //
|
|
25
|
+
|
|
26
|
+
// The function returns a boolean...
|
|
27
|
+
{
|
|
28
|
+
const matrix = {
|
|
29
|
+
'data': [ 0, 1, 1, 2 ],
|
|
30
|
+
'ndims': 2,
|
|
31
|
+
'shape': [ 2, 2 ],
|
|
32
|
+
'strides': [ 2, 1 ],
|
|
33
|
+
'offset': 0,
|
|
34
|
+
'order': 'row-major',
|
|
35
|
+
'dtype': 'generic',
|
|
36
|
+
'length': 4,
|
|
37
|
+
'flags': {},
|
|
38
|
+
'get': function get( i: number, j: number ): number {
|
|
39
|
+
const idx = ( this.strides[ 0 ] * i ) + ( this.strides[ 1 ] * j );
|
|
40
|
+
return this.data[ idx ];
|
|
41
|
+
},
|
|
42
|
+
'set': function set( i: number, j: number, v: number ): number {
|
|
43
|
+
const idx = ( this.strides[ 0 ] * i ) + ( this.strides[ 1 ] * j );
|
|
44
|
+
this.data[ idx ] = v;
|
|
45
|
+
return v;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
isSymmetricMatrix( matrix ); // $ExpectType boolean
|
|
49
|
+
isSymmetricMatrix( [] ); // $ExpectType boolean
|
|
50
|
+
isSymmetricMatrix( false ); // $ExpectType boolean
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// The compiler throws an error if the function is provided an unsupported number of arguments...
|
|
54
|
+
{
|
|
55
|
+
isSymmetricMatrix(); // $ExpectError
|
|
56
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Apache-2.0
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2018 The Stdlib Authors.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
'use strict';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Test if a value is a symmetric matrix.
|
|
23
|
+
*
|
|
24
|
+
* @module @stdlib/assert/is-symmetric-matrix
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* var ndarray = require( '@stdlib/ndarray/ctor' );
|
|
28
|
+
* var isSymmetricMatrix = require( '@stdlib/assert/is-symmetric-matrix' );
|
|
29
|
+
*
|
|
30
|
+
* var arr = ndarray( 'generic', [ 0, 1, 1, 2 ], [ 2, 2 ], [ 2, 1 ], 0, 'row-major' );
|
|
31
|
+
* var bool = isSymmetricMatrix( arr );
|
|
32
|
+
* // returns true
|
|
33
|
+
*
|
|
34
|
+
* bool = isSymmetricMatrix( [] );
|
|
35
|
+
* // returns false
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
// MODULES //
|
|
39
|
+
|
|
40
|
+
var main = require( './main.js' );
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
// EXPORTS //
|
|
44
|
+
|
|
45
|
+
module.exports = main;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Apache-2.0
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2018 The Stdlib Authors.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
'use strict';
|
|
20
|
+
|
|
21
|
+
// MODULES //
|
|
22
|
+
|
|
23
|
+
var isSquareMatrix = require( './../../is-square-matrix' );
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
// MAIN //
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Tests if a value is a symmetric matrix.
|
|
30
|
+
*
|
|
31
|
+
* ## Notes
|
|
32
|
+
*
|
|
33
|
+
* - The implementation must rely on manually checking that \\(M_{ij} = M_{ji}\\), and, while element access is deterministic, no way exists to prevent cache misses outside of reordering the underlying matrix elements, thus incurring a larger performance penalty than just "jumping around" in a single pass.
|
|
34
|
+
* - Worst case scenario: O(N^2).
|
|
35
|
+
*
|
|
36
|
+
* @param {*} v - value to test
|
|
37
|
+
* @returns {boolean} boolean indicating if a value is a symmetric matrix
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* var ndarray = require( '@stdlib/ndarray/ctor' );
|
|
41
|
+
*
|
|
42
|
+
* var arr = ndarray( 'generic', [ 0, 1, 1, 2 ], [ 2, 2 ], [ 2, 1 ], 0, 'row-major' );
|
|
43
|
+
* var bool = isSymmetricMatrix( arr );
|
|
44
|
+
* // returns true
|
|
45
|
+
*
|
|
46
|
+
* bool = isSymmetricMatrix( [] );
|
|
47
|
+
* // returns false
|
|
48
|
+
*/
|
|
49
|
+
function isSymmetricMatrix( v ) {
|
|
50
|
+
var M;
|
|
51
|
+
var i;
|
|
52
|
+
var j;
|
|
53
|
+
if ( !isSquareMatrix( v ) ) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
M = v.shape[ 0 ];
|
|
57
|
+
for ( i = 0; i < M; i++ ) {
|
|
58
|
+
for ( j = 0; j < i; j++ ) {
|
|
59
|
+
if ( v.get( i, j ) !== v.get( j, i ) ) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
// EXPORTS //
|
|
69
|
+
|
|
70
|
+
module.exports = isSymmetricMatrix;
|