8 lines
167 B
Standard ML
8 lines
167 B
Standard ML
# let string_is_empty s = (s = "") ;;
|
|
val string_is_empty : string -> bool = <fun>
|
|
|
|
# string_is_empty str ;;
|
|
- : bool = false
|
|
|
|
# string_is_empty "" ;;
|
|
- : bool = true
|