- :logical
one?
check if given number or collection size is one
Parameters
one? number :null :integer :floating :string :dictionary :block :range
Returns
Examples
copyone? 5 ; => false one? 4-3 ; => true
copyone? 1.0 ; => true one? 0.0 ; => false
copyitems: ["apple"] one? items ; => true items: [1 2 3] one? items ; => false
copyone? ø ; => false