るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.026秒)
トップページ > バージョン:2.4.0[x] > クエリ:JSON::State[x] > クエリ:allow_nan?[x]

別のキーワード

  1. json state
  2. random state
  3. _builtin state
  4. state allow_nan?
  5. state array_nl=

ライブラリ

クラス

検索結果

JSON::State#allow_nan? -> bool (117376.0)

NaN, Infinity, -Infinity を生成できる場合、真を返します。 そうでない場合は偽を返します。

NaN, Infinity, -Infinity を生成できる場合、真を返します。
そうでない場合は偽を返します。

//emlist[例][ruby]{
require "json"

json_state = JSON::State.new({})
json_state.allow_nan? # => false
json_state = JSON::State.new(allow_nan: true)
json_state.allow_nan? # => true
//}

@see 4627