a - b: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
'''Operand types:''' | '''Operand types:''' | ||
'''a:''' [[Number]] | '''a, b:''' Both [[Number]] or [[Array]] | ||
'''Type of returned value:''' | '''Type of returned value:''' | ||
[[ | Either [[Number]] or [[Array]] | ||
'''Description:''' | '''Description:''' | ||
a '''minus''' b | For numbers, '''a''' minus '''b'''. For arrays, everything that is in '''a''' that is not in '''b''' | ||
'''Examples:''' | |||
''' | Number<br>_sum = 10 '''-''' 7 ............ _sum is 3 | ||
Array<br>_result = [1,2,2,[[player]],"String"] '''-''' [2,[[player]],[[player]],"String"] ............ _result is [1] |