Julia test if number is Inf

Hello
is there a simple way to test if a variable is Inf? something like isnan(x)?

help?> isinf

  isinf(f) -> Bool

  Test whether a number is infinite.
4 Likes