Function isBoolean

  • isBoolean(str): boolean
  • returns true if the given string contains a true or false

    Parameters

    • str: string

      the string to be tested

    Returns boolean

    true if the string is either true or false

Settings

Member Visibility

AltStyle によって変換されたページ (->オリジナル) /