code: function normalizeOnlyAndExceptProperty(property) {
      if (angular.isString(property)) {
        return [property];
      }
  
      if (angular.isArray(property)) {
        return property;
      }
  
      if (angular.isFunction(property)) {
        return property.call(null, PermTransitionProperties);
      }
  
      return [];
    }
docs: Handles extraction of permission map "only" and "except" properties and converts them into array objects
  @methodOf permission.PermissionMap
  @private
  
  @param property {String|Array|Function} PermPermission map property "only" or "except"
  
  @returns {Array<String>} Array of permission "only" or "except" names