isLogical

Returns true if the argument is a valid logical decimal number. The sign and exponent must both be zero, and all decimal digits in the coefficient must be either '1' or '0'.

  1. bool isLogical(D arg, string str)
  2. bool isLogical(D arg)
    bool
    isLogical
    (
    D
    )
    (
    in D arg
    )

Meta