True if Term is a rational number with given Numerator
and
Denominator. The Numerator and Denominator
are in canonical form, which means Denominator is a positive
integer and there are no common divisors between Numerator
and Denominator.
Succeeds if Term is bound to a string. Note that string here
refers to the built-in atomic type string as described in
section 4.23, Text in double quotes such as "hello"
creates a list of character codes. We illustrate the
issues in the example queries below.
Succeeds if Term is bound to an atom, string, integer or
floating point number. Note that string refers to the built-in type. See
string/1.
Strings in the classical Prolog sense are lists and therefore compound.