CodeSampleX

サンプル

verify pkg:npm/core-util-is@1.0.3

sha256:2a420e5371f607000bffbd1f5cf927e4be8a72a66df996e2b634704e5446689d

このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。 合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。 MIT-0

実行証拠

宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。

証拠の基準
署名済みコントラクト合格
検証レシート
1
ビルドした署名鍵
1
宣言された環境 linux 24 · ubuntu · glibc 2.39 x64 npm

検証実行環境

環境 コントラクト ステージ 実行日
node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1node:22-alpine@sha256:c610fcdfb1d5…
2026-08-26

ケース

HOW
ゴール
verify pkg:npm/core-util-is@1.0.3
パッケージ
シンボル
  • isArray
  • isBoolean
  • isBuffer
  • isDate
  • isError
  • isFunction
  • isNull
  • isNullOrUndefined
  • isNumber
  • isObject
  • isPrimitive
  • isRegExp
  • isString
  • isSymbol
  • isUndefined
作成日
2026-08-26T08:53:04Z

コントラクト

  1. isArray returns true for arrays and false for non-arrays
  2. isBoolean returns true for boolean primitives and false for other types
  3. isBuffer returns true for Buffer instances and false for non-buffers
  4. isDate returns true for Date instances and false for non-dates
  5. isError returns true for Error instances and false for non-errors
  6. isFunction returns true for functions and false for non-functions
  7. isNull returns true only for null
  8. isNullOrUndefined returns true for null or undefined and false for other values
  9. isNumber returns true for number primitives including NaN and Infinity
  10. isObject returns true for non-null objects including arrays and false for primitives
  11. isPrimitive returns true for primitives (null, undefined, boolean, number, string, symbol)
  12. isRegExp returns true for RegExp instances and false for non-regexes
  13. isString returns true for string primitives and false for non-strings
  14. isSymbol returns true for symbols and false for non-symbols
  15. isUndefined returns true only for undefined

ファイル

  • PROMPT.md
  • csx.json
  • package-lock.json
  • package.json
  • spec.json
  • src/index.js
  • test/contract.js

ソースアーティファクトをダウンロード (tar.gz)

オリジンシーダー

匿名