Perhaps, both, although there are applications of generalized Boolean functions for instance to MC-CDMA (Schmidt showed a connection in 1999 between words with peak-to-power ratio (PAPR) equal to the ideal 1 and generalized bent Boolean functions with values in Z_4).