Check type of an integer You will receive an integer less than 2000000000 and bigger than -2000000000 and you have to test what type(s) of number this is out of:
Factorial
Square
Cube
Prime
Composite
Triangular
Positive
Negative

Here is a definition  of all the different types of numbers:
Factorial - A number That is equal to the product of all positive integers less than the a certain positive integer - 5×4×3×2×1 = 120
Square - A number that is the product of two identical integers - 5×5 = 25
Cube - A number that is the product of three identical integers - −5×−5×−5 = -125
Prime - A number that has only two divisors (1 and 0 are not) - 3
Composite - A number that has more than two divisors (also not 1 or 0) - 4
Triangular - A number that is equal the sum of all positive integers less than the a certain positive integer - 5+4+3+2+1 = 15
Positive - A number larger than 0 (not 0) - 7
Negative - A number less than 0 (not 0) - −7
Test Cases
-8 = [&quot;Cube&quot;,&quot;Negative&quot;]                                   
-2 = [&quot;Negative&quot;]                                          
-1 = [&quot;Cube&quot;,&quot;Negative&quot;]                                   
 0 = [&quot;Cube&quot;, &quot;Square&quot;, &quot;Triangular&quot;]                                                    
 1 = [&quot;Cube&quot;,&quot;Factorial&quot;,&quot;Positive&quot;,&quot;Square&quot;,&quot;Triangular&quot;] 
 2 = [&quot;Factorial&quot;,&quot;Positive&quot;,&quot;Prime&quot;]                      
 3 = [&quot;Positive&quot;,&quot;Prime&quot;,&quot;Triangular&quot;]                     
 4 = [&quot;Composite&quot;,&quot;Positive&quot;,&quot;Square&quot;]                     
 5 = [&quot;Positive&quot;,&quot;Prime&quot;]                                  
 6 = [&quot;Composite&quot;,&quot;Factorial&quot;,&quot;Positive&quot;,&quot;Triangular&quot;]     
 7 = [&quot;Positive&quot;,&quot;Prime&quot;]                                  
 8 = [&quot;Composite&quot;,&quot;Cube&quot;,&quot;Positive&quot;]                       
 9 = [&quot;Composite&quot;,&quot;Positive&quot;,&quot;Square&quot;]                     
10 = [&quot;Composite&quot;,&quot;Positive&quot;,&quot;Triangular&quot;]                 
11 = [&quot;Positive&quot;,&quot;Prime&quot;]                                  
12 = [&quot;Composite&quot;,&quot;Positive&quot;]                              

Note: The Order of the Result Does Not Matter and it can be expressed with words (Does Not Have To Be A List)
Remember, this is a code golf so the smallest answer in bytes is what I'm looking for
APL (Dyalog Extended), 130 119 bytesSBCS



Anonymous tacit prefix function.

((∊∘⎕A⊂⊢)'FactorialSquareTriangularCubePositiveNegativePrimeComposite')/⍨{⍵∊¨(⊂∘!,×⍨⍮+\)⍳|⍵},(|∊⍳∘|*3⍨),&lt;,&gt;,1∘⍭,0∘⍭∧1∘&lt;


Try it online!

(…)/⍨ filters the list of strings on the left by the bit mask on the right:

 (…)'Fac…ite' apply the following tacit function to the long string:

  ∊∘⎕A element-wise membership of the uppercase alphabet

  ⊂ partitions (i.e. True begins a new partition)

  ⊢ the unmodified argument

The last 46 bytes return a bit vector indicating [Factorial, Square, Triangular, Cube, Positive, Negative, Prime, Composite]:

{⍵∊¨(⊂∘!,×⍨⍮+\)⍳|⍵},(|∊⍳∘|*3⍨),&lt;,&gt;,1∘⍭,0∘⍭∧1∘&lt;


Try it online!

{…} the first three bits (factorial, square, triangular) come from this anonymous lambda:

 ⍵∊¨(…)… is the argument a member of each of the following three lists?

  ⊂∘! the enclosed factorials

  , followed by

  ×⍨ the squares (lit. the multiplication selfies)

  ⍮ juxtaposed with

  +\ the running sum

 ⍳ of the integers one through

 |⍵ the absolute value of the argument

(…) the next bit (cube) comes from the following tacit function:

 | is the absolute value of the argument

 ∊ a member of

 ⍳∘| the integers 1 through the absolute value of the argument

 * raised to the power of

 3⍨ three

&lt; the next bit is simply whether it is positive (zero is less than)

&gt; the next bit is simply whether it is negative (zero is more than)

1∘⍭ the next bit is whether it is prime

0∘⍭ the final bit is whether it is non-prime

∧

1∘&lt; one is less than it